提交 8f258370 编写于 作者: B break60

fix

上级 b0fd387f
...@@ -155,8 +155,8 @@ ...@@ -155,8 +155,8 @@
let userNameLength = this.userName.length let userNameLength = this.userName.length
// user name // user name
if (userNameLength<3) { if (userNameLength<3 && userNameLength>60) {
this.$message.warning(`${i18n.$t('Username length cannot be less than 3')}`) this.$message.warning(`${i18n.$t('User name length is between 3 and 60')}`)
return false return false
} }
if (!this.userName.replace(/\s*/g,"")) { if (!this.userName.replace(/\s*/g,"")) {
......
...@@ -595,5 +595,5 @@ export default { ...@@ -595,5 +595,5 @@ export default {
'Please delete all non-existent resources': 'Please delete all non-existent resources', 'Please delete all non-existent resources': 'Please delete all non-existent resources',
'The Worker group no longer exists, please select the correct Worker group!': 'The Worker group no longer exists, please select the correct Worker group!', 'The Worker group no longer exists, please select the correct Worker group!': 'The Worker group no longer exists, please select the correct Worker group!',
'Please confirm whether the workflow has been saved before downloading': 'Please confirm whether the workflow has been saved before downloading', 'Please confirm whether the workflow has been saved before downloading': 'Please confirm whether the workflow has been saved before downloading',
'Username length cannot be less than 3': 'Username length cannot be less than 3' 'User name length is between 3 and 60': 'User name length is between 3 and 60'
} }
...@@ -595,5 +595,5 @@ export default { ...@@ -595,5 +595,5 @@ export default {
'Please delete all non-existent resources': '请删除所有未授权或已删除资源', 'Please delete all non-existent resources': '请删除所有未授权或已删除资源',
'The Worker group no longer exists, please select the correct Worker group!': '该Worker分组已经不存在,请选择正确的Worker分组!', 'The Worker group no longer exists, please select the correct Worker group!': '该Worker分组已经不存在,请选择正确的Worker分组!',
'Please confirm whether the workflow has been saved before downloading': '下载前请确定工作流是否已保存', 'Please confirm whether the workflow has been saved before downloading': '下载前请确定工作流是否已保存',
'Username length cannot be less than 3': '用户名长度不能小于3' 'User name length is between 3 and 60': '用户名长度在3~60之间'
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册