Commit d2ca652a authored by youjie's avatar youjie

no message

parent c31ece66
......@@ -322,7 +322,7 @@ export default {
forgot: "忘記密碼?",
signin: "登入",
pageTitle: "登入",
ruleTipsAccount: "請填寫正確的郵箱帳號",
ruleTipsAccount: "請填寫正確的帳號",
ruleTipsPwd: "請填寫密碼",
formTips: "請填寫登陸信息",
success: "登陸成功"
......
......@@ -19,7 +19,8 @@ const userUserLoginModule = () => {
})
const {t} = useI18n()
const userValidateRule = reactive({
usernameRule: [(val:any, rules:any) => rules.email(val) || t("login.ruleTipsAccount")],
// usernameRule: [(val:any, rules:any) => rules.email(val) || t("login.ruleTipsAccount")],
usernameRule: [(val:any, rules:any) => !!val || t("login.ruleTipsAccount")],
userpasswordRule: [(val: any) => !!val || t("login.ruleTipsPwd")]
})
const stateManager = reactive({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment