移除登陆界面用户名的校验
This commit is contained in:
parent
6e8065ea06
commit
a242de0307
@ -123,11 +123,12 @@ import SocialSign from './components/SocialSignin.vue'
|
||||
})
|
||||
export default class extends Vue {
|
||||
private validateUsername = (rule: any, value: string, callback: Function) => {
|
||||
if (!isValidUsername(value)) {
|
||||
callback(new Error('Please enter the correct user name'))
|
||||
} else {
|
||||
callback()
|
||||
}
|
||||
callback()
|
||||
// if (!isValidUsername(value)) {
|
||||
// callback(new Error('Please enter the correct user name'))
|
||||
// } else {
|
||||
// callback()
|
||||
// }
|
||||
}
|
||||
|
||||
private validatePassword = (rule: any, value: string, callback: Function) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user