From e83190b3e5667962fcdf845b5ce7d821dc0f863d Mon Sep 17 00:00:00 2001
From: zxh <279049017@qq.com>
Date: Wed, 02 Sep 2020 14:30:50 +0800
Subject: [PATCH] Merge branch 'dev' of ssh://192.168.2.240:29418/kidgrow-microservices-platform into dev
---
kidgrow-web/kidgrow-web-hospital/src/main/resources/static/login.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/login.html b/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/login.html
index fe6e592..acf9679 100644
--- a/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/login.html
+++ b/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/login.html
@@ -118,18 +118,18 @@
// debugger;
if (data.code === 0) {
config.putToken(data.data);
- layer.msg('登录成功', {icon: 1, time: 500}, function () {
+ layer.msg('登录成功', {icon: 1, time: 2000}, function () {
location.replace('./');
});
} else {
layer.closeAll('loading');
- layer.msg(data.msg, {icon: 5, time: 500});
+ layer.msg(data.msg, {icon: 5, time: 2000});
}
},
error: function (xhr) {
//console.log(xhr)
layer.closeAll('loading');
- layer.msg(xhr.responseJSON.msg, {icon: 5, time: 500});
+ layer.msg(xhr.responseJSON.msg, {icon: 5, time: 2000});
}
});
//阻止表单跳转
--
Gitblit v1.8.0