Merge branch 'dev' of github.com:fit2cloudrd/metersphere-server into dev

This commit is contained in:
Captain.B 2020-02-27 10:56:42 +08:00
commit c78abb1508
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ const zh_CN = {
'cancel': '取消',
'prompt': '提示',
'operating': '操作',
'input_limit': '长度在 {0} 到 {1} 个字符',
},
workspace: {
'create': '创建工作空间',

View File

@ -167,7 +167,7 @@
rules: {
name: [
{required: true, message: this.$t('workspace.input_name'), trigger: 'blur'},
{min: 2, max: 50, message: this.$t('workspace.input_name_2_50'), trigger: 'blur'}
{min: 2, max: 50, message: this.$t('commons.input_limit', [2, 50]), trigger: 'blur'}
]
},
}