提交 098db69f 编写于 作者: B break60

fix

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