From 598eea6ec6783785bfbb7925284ab2af4ce41974 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <279049017@qq.com>
Date: Tue, 03 Nov 2020 17:50:34 +0800
Subject: [PATCH] Merge branch 'master' of ssh://192.168.2.240:29418/kidgrow-microservices-platform
---
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