diff --git a/pages/cart/payment/payOrder.vue b/pages/cart/payment/payOrder.vue index 840a42f..f5b092c 100644 --- a/pages/cart/payment/payOrder.vue +++ b/pages/cart/payment/payOrder.vue @@ -163,10 +163,10 @@ // #endif - if(this.routerVal.recharge_sn){ - this.payList = res.data.result.support.filter((item) => { + if(this.routerVal.recharge_sn){ + this.payList = res.data.result.support.filter((item) => { return item != "WALLET"; - }) + }) } else{ this.payList = res.data.result.support; @@ -178,7 +178,13 @@ this.payList = res.data.result.support.filter((item) => { return item != "ALIPAY"; - }); + }); + // 充值的话仅保留微信支付 + if(this.orderType == "RECHARGE"){ + this.payList = res.data.result.support.filter((item) => { + return item == "WECHAT"; + }); + } } // #endif diff --git a/pages/mine/address/add.vue b/pages/mine/address/add.vue index f4f3f51..7cf807f 100644 --- a/pages/mine/address/add.vue +++ b/pages/mine/address/add.vue @@ -1,10 +1,12 @@