feat: 更新用户注册和登录界面的文本提示,增强用户体验

This commit is contained in:
2026-01-15 03:04:49 +07:00
parent 0ebf33c5a4
commit 4c29f95740
6 changed files with 27 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ async function handleSubmit(values: Record<string, any>) {
if (!data?.token) {
toastController.create({
message: "注册失败,请重试",
message: t("auth.signup.signupFailed"),
duration: 2000,
color: "danger",
}).then(toast => toast.present());
@@ -40,7 +40,7 @@ async function handleSubmit(values: Record<string, any>) {
}
catch (err) {
toastController.create({
message: "注册失败,请重试",
message: t("auth.signup.signupFailed"),
duration: 2000,
color: "danger",
}).then(toast => toast.present());