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

master
lemon橪 2022-07-08 11:26:10 +08:00 committed by 学习很差啦
parent ba02c6ca7d
commit bc9c012bb2
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

View File

@ -1,10 +1,12 @@
<template>
<view class="add-address">
<div class="uForm">
<u-form :border-bottom="false" :model="form" ref="uForm" :error-type="['toast']" :rule="rules">
<u-form :border-bottom="false" :model="form" ref="uForm" :error-type="['toast']" :rule="rules">
<!-- #ifndef H5 -->
<view class="selectAddress" @click="clickUniMap">
选择收货地址
</view>
</view>
<!-- #endif -->
<u-form-item class="border" label="收货人" label-width="130" prop="name">
<u-input v-model="form.name" clearable placeholder="请输入收货人姓名" />
</u-form-item>