SanHQin 18 시간 전
부모
커밋
9680b784c1

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/report.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-f0eea21c.b8356bfa.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.bff09430.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-f0eea21c.012481f8.js


+ 3 - 4
src/components/qrScanner.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="sweep" v-if="show">
-    <video ref="video" id="reader" style="width:100%;height:auto;"></video>
+    <video ref="video" playsinline id="reader" style="width:100%;height:auto;"></video>
     <div class="ku-scanner">
       <div class="ku-scanner-content">
         <div class="ku-scanner-tooltip">
@@ -73,9 +73,8 @@ export default {
       this.scanner = new QrScanner(
         this.$refs.video,
         result => {
-          if (result) {
-            this.$toast(result)
-            this.$emit('success', result)
+          if (result.data) {
+            this.$emit('success', result.data)
           }
 
           // this.scanner.stop() // 扫描一次后停止

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.