From d29bc0704813dd64514e7dd00c47517186339601 Mon Sep 17 00:00:00 2001
From: hly <2783385703@qq.com>
Date: Fri, 15 Aug 2025 15:40:41 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E6=8F=90=E7=8E=B0):=20=E4=BF=AE=E6=AD=A3?=
=?UTF-8?q?=E6=8F=90=E7=8E=B0=E9=87=91=E9=A2=9D=E8=BE=93=E5=85=A5=E7=B1=BB?=
=?UTF-8?q?=E5=9E=8B=E5=92=8C=E6=9C=80=E5=B0=8F=E9=87=91=E9=A2=9D=E9=AA=8C?=
=?UTF-8?q?=E8=AF=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
将提现金额输入框类型改为digit以限制数字输入,并将最小提现金额验证从1元调整为0.3元
---
pages/subcomponent/withdraw.vue | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/pages/subcomponent/withdraw.vue b/pages/subcomponent/withdraw.vue
index 6bbd3b5..84ade54 100644
--- a/pages/subcomponent/withdraw.vue
+++ b/pages/subcomponent/withdraw.vue
@@ -34,7 +34,8 @@
提现金额
-
+
@@ -150,8 +151,8 @@ export default {
}
// 验证最小提现金额
- if (amountNum < 1) {
- uni.showToast({ title: '单笔提现不能低于1元', icon: 'none' })
+ if (amountNum <= 0.3) {
+ uni.showToast({ title: '单笔提现不能低于等于0.3元', icon: 'none' })
return
}