ms project
This commit is contained in:
parent
9c7b776a37
commit
2576b9c035
|
@ -26,6 +26,8 @@ const en_US = {
|
|||
'create': 'Create Project',
|
||||
'delete_confirm': 'Are you sure you want to delete this project?',
|
||||
'search_by_name': 'Search by name',
|
||||
'input_name': 'Please enter a workspace name',
|
||||
'input_name_2_50': '2 to 50 characters in length',
|
||||
},
|
||||
i18n: {
|
||||
'home': 'Home',
|
||||
|
|
|
@ -26,6 +26,8 @@ const zh_CN = {
|
|||
'create': '创建项目',
|
||||
'delete_confirm': '这个项目确定要删除吗?',
|
||||
'search_by_name': '根据名称搜索',
|
||||
'input_name': '请输入项目名称',
|
||||
'input_name_2_50': '长度在 2 到 50 个字符',
|
||||
},
|
||||
i18n: {
|
||||
'home': '首页',
|
||||
|
|
|
@ -81,8 +81,8 @@
|
|||
total: 0,
|
||||
rules: {
|
||||
name: [
|
||||
{required: true, message: '请输入项目名称', trigger: 'blur'},
|
||||
{min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur'}
|
||||
{required: true, message: this.$t('project.input_name'), trigger: 'blur'},
|
||||
{min: 2, max: 50, message: this.$t('project.input_name_2_50'), trigger: 'blur'}
|
||||
]
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue