src/views/common/qrCodeApp.vue @@ -35,7 +35,7 @@ created() { }, methods: { openCamera(){ this.camera="front" this.camera="rear" }, //回调扫描结果 onDecode(result) {