From d439e6dfb0ce43ecccda34566cee00eab3749549 Mon Sep 17 00:00:00 2001 From: fanfan Date: Fri, 17 May 2024 17:39:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/dealer/withdraw/apply.vue | 2 +- pages/news/user/withdrawal.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/dealer/withdraw/apply.vue b/pages/dealer/withdraw/apply.vue index a7bc874..b11a110 100644 --- a/pages/dealer/withdraw/apply.vue +++ b/pages/dealer/withdraw/apply.vue @@ -168,7 +168,7 @@ .replace(/\./g, "") .replace("$#$", ".") } - if (num > Number(this.settlement.min_money)) { // 判断value值是否小于等于100, 如果大于100限制输入100 + if (num > Number(this.settlement.min_money)) { uni.showToast({ title: this.settlement.min_money > 0 ? `最多可用${Number(this.settlement.min_money)}元, 请重新输入` : '暂无可提现金额', diff --git a/pages/news/user/withdrawal.vue b/pages/news/user/withdrawal.vue index c6cdcfd..07be7c4 100644 --- a/pages/news/user/withdrawal.vue +++ b/pages/news/user/withdrawal.vue @@ -306,7 +306,7 @@ .replace(/\./g, "") .replace("$#$", ".") } - if (num > Number(this.balance)) { // 判断value值是否小于等于100, 如果大于100限制输入100 + if (num > Number(this.balance)) { uni.showToast({ title: this.balance > 0 ? `最多可用${Number(this.balance)}元, 请重新输入` : '暂无可提现金额', icon: 'none', @@ -315,7 +315,7 @@ this.obj.money = this.balance > 0 ? this.balance : '' this.$forceUpdate(); } else { - if (!num) { // 判断value值是否等于空,为空amount默认0, + if (!num) { this.obj.money = '' this.$forceUpdate(); } else {