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 (() => {