SanHQin 2 mesi fa
parent
commit
356355b028

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/report.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-51ad118b.e29aece7.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.967b84d8.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-51ad118b.0076ce97.js


+ 5 - 2
src/components/qrScanner.vue

@@ -73,8 +73,11 @@ export default {
       this.scanner = new QrScanner(
         this.$refs.video,
         result => {
-          this.$toast(result)
-          this.$emit('success', result)
+          if (result) {
+            this.$toast(result)
+            this.$emit('success', result)
+          }
+
           // this.scanner.stop() // 扫描一次后停止
           // this.close()
         },

Some files were not shown because too many files changed in this diff