Sfoglia il codice sorgente

初始化不能为假,否则不能显示二维码

lifanagju_citu 5 mesi fa
parent
commit
e034e014f0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/mall/components/details/order/pay.vue

+ 1 - 1
src/views/mall/components/details/order/pay.vue

@@ -263,7 +263,7 @@ const getPayStatus = async () => {
 
 // 倒计时
 const countdownTime = 60000 * 3 // 倒计时三分钟
-let remainder = 0 // number
+let remainder = true // number 初始化不能为假,否则不能显示二维码
 const remainderZhShow = ref('') // 倒计时展示
 
 const remainderTimer = ref(null)