shish 2 лет назад
Родитель
Сommit
7e0e4c3afa
1 измененных файлов с 1 добавлено и 7 удалено
  1. 1 7
      hdApp/src/pagesPurchase/wechatPay.vue

+ 1 - 7
hdApp/src/pagesPurchase/wechatPay.vue

@@ -100,7 +100,6 @@ export default {
     ...mapGetters({ dictInfo:"getDictionariesInfo" }),
   },
   onShow(){
-    // #ifdef APP-PLUS
     let that = this
     if(that.needCheck == 1){
       that.needCheck = 0
@@ -108,7 +107,6 @@ export default {
         that.pageTo({ url: '/pagesPurchase/particulars?id=' + that.id, type: 2 })
       })
     }
-    // #endif
   },
   methods: {
     init(){
@@ -194,11 +192,7 @@ export default {
                 path: '/pagesPurchase/wechatPay?id='+id+'&realPrice='+realPrice+'&orderSn='+orderSn,
                 type: 0
               });
-              setTimeout(function(){
-                that.$util.confirmModal({content:'已付款成功?',okText:'是的',cancelText:'没有'},() => {
-                  that.pageTo({ url: '/pagesPurchase/particulars?id=' + id, type: 2 })
-                })
-              },3000)
+              that.needCheck = 1
               uni.hideLoading()
             } else {
               that.$msg("没有找到微信服务")