diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 1564ac6..2123c75 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -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) => {