浏览代码

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

lifanagju_citu 5 月之前
父节点
当前提交
e034e014f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)