From f6d390988b1c9b5695338214e95ff0d6da70b300 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <279049017@qq.com>
Date: Wed, 25 Nov 2020 16:34:41 +0800
Subject: [PATCH] 完善功能

---
 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