From d39c9cbec6e7efaaaf802252c94360cfebaf8b28 Mon Sep 17 00:00:00 2001 From: "Apple\\Apple" Date: Wed, 4 Jun 2025 08:50:38 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(ui):=20add=20the=20attribute?= =?UTF-8?q?=20`mode=3D"password"`=20to=20the=20password=20input=20on=20the?= =?UTF-8?q?=20Setup=20page=20to=20enable=20password=20visibility=20toggle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/i18n/locales/en.json | 1 + web/src/pages/Setup/index.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index 3f2822a2..eccd8b69 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -15,6 +15,7 @@ "其他登录选项": "Other login options", "其他注册选项": "Other registration options", "请输入您的用户名或邮箱地址": "Please enter your username or email address", + "请输入您的邮箱地址": "Please enter your email address", "请输入您的密码": "Please enter your password", "继续": "Continue", "%d 点额度": "%d point quota", diff --git a/web/src/pages/Setup/index.js b/web/src/pages/Setup/index.js index 54240b37..a3572f8d 100644 --- a/web/src/pages/Setup/index.js +++ b/web/src/pages/Setup/index.js @@ -349,6 +349,7 @@ const Setup = () => { size='large' className="mb-4 !rounded-lg" noLabel={false} + mode="password" validateStatus="default" onChange={(value) => setFormData({ ...formData, password: value }) @@ -364,6 +365,7 @@ const Setup = () => { size='large' className="!rounded-lg" noLabel={false} + mode="password" validateStatus="default" onChange={(value) => setFormData({ ...formData, confirmPassword: value })