소스 검색

隐藏时关闭支付弹窗

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') {