Browse Source

fix: 扫码页面修改

chenzhen2 2 years ago
parent
commit
4303853430
1 changed files with 2 additions and 6 deletions
  1. 2 6
      src/views/home/index.vue

+ 2 - 6
src/views/home/index.vue

@@ -20,15 +20,11 @@
               foreground="#CE9F27"
               level="H"
             />
-            <div class="qrcode-model" >
+            <div class="qrcode-model" v-if="codeStatus.status">
               <span v-if="codeStatus.status === 1">已扫描</span>
-              <!-- v-if="codeStatus.status" -->
               <!-- <span v-if="codeStatus.status === 2">已确认</span> -->
-              <!-- v-if="
-                  codeStatus.status === 2 ||
-                  codeStatus.status === 3
-                " -->
               <van-icon
+                v-if="codeStatus.status === 2 || codeStatus.status === 3"
                 class="code-replay"
                 @click="refreshCode"
                 name="replay"