1. Fix Some I18n Warning.

2. Fix Navigation Duplicated Error When Current Route Path is `/login`.
3. Fix  Parent Level Named Route Warning.
4. Change `request` function From Promise Syntax To Await/Async.
This commit is contained in:
yaziming
2019-09-01 00:36:59 +08:00
parent 9f43e08ff9
commit fc4ebe3753
5 changed files with 58 additions and 27 deletions

View File

@@ -247,7 +247,7 @@ export default {
'username already exists': '用户名已存在',
'Deleted successfully': '成功删除',
'Saved successfully': '成功保存',
'English': 'English',
// 登录
'Sign in': '登录',
'Sign-in': '登录',
@@ -266,5 +266,20 @@ export default {
'admin': '管理用户',
'Role': '角色',
'Edit User': '更改用户',
'Users': '用户'
'Users': '用户',
tagsView: {
closeOthers: '关闭其他',
close: '关闭',
refresh: '刷新',
closeAll: '关闭所有'
},
nodeList: {
type: '节点类型'
},
schedules: {
cron: 'Cron',
add_cron: '生成Cron',
// Cron Format: [second] [minute] [hour] [day of month] [month] [day of week]
cron_format: 'Cron 格式: [秒] [分] [小时] [日] [月] [周]'
}
}