shish 2 tahun lalu
induk
melakukan
e2499b894a
1 mengubah file dengan 4 tambahan dan 6 penghapusan
  1. 4 6
      hdApp/src/pagesPurchase/wechatPay.vue

+ 4 - 6
hdApp/src/pagesPurchase/wechatPay.vue

@@ -145,6 +145,10 @@ export default {
     },
     appAliPayFn(){
       let that = this
+      // #ifdef MP-WEIXIN
+      this.$util.confirmModal({content:'请到【应用市场】下载花掌柜,登录即可支付'},() => { })
+      return false
+      // #endif
       // #ifdef APP-PLUS
       uni.showLoading()
       let id = this.option.id ? this.option.id : 0   
@@ -166,12 +170,6 @@ export default {
     },
     appWxPayFn(){
         let that = this
-        // #ifdef MP-WEIXIN
-        this.$util.confirmModal({content:'请到【应用市场】下载花掌柜,即可支付'},() => {
-            
-        })
-        return false
-        // #endif
         // #ifdef APP-PLUS
         uni.showLoading()
         let id = this.option.id ? this.option.id : 0