瀏覽代碼

feat: 修改验证

year 1 周之前
父節點
當前提交
0f8bf4752d
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/app/[locale]/(TabBar)/deposit/component/deposit/index.tsx

+ 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") });