浏览代码

隐藏时关闭支付弹窗

lifanagju_citu 1 月之前
父节点
当前提交
dbbcd61e76
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      components/payPopup/index.vue

+ 2 - 1
components/payPopup/index.vue

@@ -275,7 +275,8 @@ const weChatMiniProgramPay = async () => {
       // 用户支付成功
       console.log('用户支付成功')
       initIntervalFun()
-      // closePayPopup()
+      popup.value.close()
+      tabBarShow(true)
     },
     fail: (err) => {
       if (err.errMsg === 'requestPayment:fail cancel') {