From a242de03075d3cd93d82f16cc5319b9474016829 Mon Sep 17 00:00:00 2001 From: zhl Date: Mon, 15 Mar 2021 18:25:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E7=99=BB=E9=99=86=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=94=A8=E6=88=B7=E5=90=8D=E7=9A=84=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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) => {