修复提现点击无反应问题

This commit is contained in:
YeMingfei666 2024-12-23 19:15:46 +08:00
parent bb0074cc0f
commit 852ab64e15
1 changed files with 3 additions and 3 deletions

View File

@ -150,8 +150,8 @@ export default {
onShow() {
this.token = uni.getStorageSync('token')
this.userId = uni.getStorageSync('userId')
this.aliZhiFuBao = uni.getStorageSync('aliZhiFuBao')
this.aliZhiFuBaoName = uni.getStorageSync('aliZhiFuBaoName')
this.aliZhiFuBao = uni.getStorageSync('zhiFuBao')
this.aliZhiFuBaoName = uni.getStorageSync('zhiFuBaoName')
this.ymfgetcashMoney()
},
@ -306,7 +306,7 @@ export default {
let token = that.token
let userId = that.userId
let cashMoney = that.cashMoney;
console.log('tixian');
if (token) {
if (that.aliZhiFuBao && that.aliZhiFuBaoName) {
if (!/^\d+(\.\d{1,2})?$/.test(that.money)) {