From cc9f0298f778c6346009ffaa8fd4119e0777f6e7 Mon Sep 17 00:00:00 2001 From: speakeloudest Date: Fri, 6 Feb 2026 09:43:34 +0200 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UserInfo/components/WalletDialog.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/pages/UserCenter/components/UserInfo/components/WalletDialog.vue b/src/pages/UserCenter/components/UserInfo/components/WalletDialog.vue index 4806a81..85b0c50 100644 --- a/src/pages/UserCenter/components/UserInfo/components/WalletDialog.vue +++ b/src/pages/UserCenter/components/UserInfo/components/WalletDialog.vue @@ -63,7 +63,9 @@
-
¥
+
+ {{ values.type === 'USDT(TRC20)' ? '₮' : '¥' }} +
-
RMB
+
+ {{ values.type === 'USDT(TRC20)' ? 'USDT' : 'RMB' }} +
@@ -207,7 +211,9 @@ const onSubmit = handleSubmit(async (val) => { // 1. 基础校验 if (amount > props.commission / 100) return toast.error('佣金不足') - if (amount < 200) return toast.error('金额不能小于200') + const minAmount = val.type === 'USDT(TRC20)' ? 30 : 200 + if (amount < minAmount) + return toast.error(`金额不能小于${minAmount}${val.type === 'USDT(TRC20)' ? 'USDT' : 'RMB'}`) try { isPending.value = true