fix: 静态路由菜单国际化/切换刷新

This commit is contained in:
TsMask
2023-11-11 11:44:21 +08:00
parent 1c82719af0
commit 3ae8a7c237
6 changed files with 48 additions and 12 deletions

View File

@@ -121,6 +121,16 @@ export default {
}
},
// 静态路由
router: {
index: "Home",
account: {
index: "Personal Center",
profile: "Personal Info",
settings: "Personal Settings",
},
},
// 校验
valid: {
userNameReg: 'The account cannot start with a number and can contain uppercase and lowercase letters, numbers, and no less than 5 digits.',

View File

@@ -121,6 +121,16 @@ export default {
}
},
// 静态路由
router: {
index: "Home",
account: {
index: "个人中心",
profile: "个人信息",
settings: "个人设置",
},
},
// 校验
valid: {
userNameReg: '账号不能以数字开头可包含大写小写字母数字且不少于5位',