From 5a2348db2d87bc494aa3dcdbcc5b90d850d1ac32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Fri, 20 May 2022 10:54:45 +0800 Subject: [PATCH 1/2] up --- src/views/login/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 784f53e..70d6e5d 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -8,7 +8,7 @@ class="login-form" auto-complete="on" label-position="left">
-

“中共苏州独立支部旧址”预约系统

+

预约管理系统

@@ -69,8 +69,8 @@ return { windowHeight: document.documentElement.clientHeight, //实时屏幕高度 loginForm: { - username: 'admin', - password: 'Admin2022' + username: '', + password: '' }, loginRules: { username: [{ From 466542120e1b47ca2dfe05509585bbb9a023b1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Fri, 20 May 2022 10:56:49 +0800 Subject: [PATCH 2/2] up --- src/views/login/index.vue | 74 +++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 70d6e5d..4cf64ad 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -2,42 +2,42 @@
- +
- -
+ +
@@ -60,7 +60,7 @@ } } const validatePassword = (rule, value, callback) => { - if (value.length < 6) { + if (value.length == 0) { callback(new Error('密码输入错误')) } else { callback() @@ -115,7 +115,7 @@ var that = this; let height = this.$refs.formBox.offsetHeight; //100 that.formHeight = height; - that.marginTop = (that.windowHeight - height*1.5) / 2; + that.marginTop = (that.windowHeight - height * 1.5) / 2; // window.onresize = () => { return (() => {