修改微信h5中充值会出现零钱充值的问题

This commit is contained in:
lemon橪
2022-07-08 11:26:10 +08:00
parent e06338dd2e
commit ea8e783909
2 changed files with 14 additions and 6 deletions

View File

@@ -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