Browse Source

fix

pull/3/MERGE
break60 5 years ago
parent
commit
5922bcfaa1
  1. 1
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue

1
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue

@ -154,7 +154,6 @@
let regPassword = /^(?![0-9]+$)(?![a-z]+$)(?![A-Z]+$)(?![`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]+$)[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、0-9A-Za-z]{6,22}$/;
let userNameLength = this.userName.length
console.log(userNameLength)
// user name
if (userNameLength<3 || userNameLength>39) {
this.$message.warning(`${i18n.$t('User name length is between 3 and 39')}`)

Loading…
Cancel
Save