From 6cb579217b3ae5e71abc2216f653413647bcb3e7 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Sun, 24 Nov 2019 23:24:03 +0800 Subject: [PATCH] =?UTF-8?q?perf[litemall-admin]:=20=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/src/views/login/index.vue | 75 ++++++++++++------------ 1 file changed, 36 insertions(+), 39 deletions(-) diff --git a/litemall-admin/src/views/login/index.vue b/litemall-admin/src/views/login/index.vue index 876f5fb5..31496ca2 100644 --- a/litemall-admin/src/views/login/index.vue +++ b/litemall-admin/src/views/login/index.vue @@ -5,20 +5,17 @@

管理员登录

- - - - - + 登录 @@ -85,13 +82,6 @@ export default { // window.removeEventListener('hashchange', this.afterQRScan) }, methods: { - showPwd() { - if (this.passwordType === 'password') { - this.passwordType = '' - } else { - this.passwordType = 'password' - } - }, handleLogin() { this.$refs.loginForm.validate(valid => { if (valid && !this.loading) { @@ -115,9 +105,19 @@ export default { } - - +