this.$message.warning(`${i18n.$t('Please enter your password')}`)
if(!regPassword.test(this.userPassword)){
returnfalse
this.$message.warning(`${i18n.$t('Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22')}`)
returnfalse
}
}elseif(!this.item){
if(!regPassword.test(this.userPassword)){
this.$message.warning(`${i18n.$t('Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22')}`)
returnfalse
}
}
}
// email
// email
if(!this.email){
if(!this.email){
this.$message.warning(`${i18n.$t('Please enter email')}`)
this.$message.warning(`${i18n.$t('Please enter email')}`)
this.$message.warning(`${i18n.$t('Password cannot be in Chinese')}`)
this.$message.warning(`${i18n.$t('Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22')}`)
returnfalse
}
if(!this.userPassword){
this.$message.warning(`${i18n.$t('Please enter a password (6-22) character password')}`)
'Please enter user name':'Please enter user name',
'Please enter user name':'Please enter user name',
'Password':'Password',
'Password':'Password',
'Please enter your password':'Please enter your password',
'Please enter your password':'Please enter your password',
'Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22':'Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22',
'Login':'Login',
'Login':'Login',
'Home':'Home',
'Home':'Home',
'Failed to create node to save':'Failed to create node to save',
'Failed to create node to save':'Failed to create node to save',