Procházet zdrojové kódy

feat: 修改验证

year před 1 týdnem
rodič
revize
0f8bf4752d

+ 3 - 1
src/app/[locale]/(TabBar)/deposit/component/deposit/index.tsx

@@ -199,8 +199,10 @@ const Deposit = () => {
             });
             if (!confirmRes) return;
         }
+
         if (new BigNumber(amount).isLessThan(shopType.condition.min)) {
-            return Toast.show({ content: t("form.amount") });
+            let msg = t("form.amountMinReg", { amount: shopType.condition.min });
+            return Toast.show({ content: msg });
         }
         if (!amount) {
             return Toast.show({ content: t("form.amount") });