From 61e24377dde729afee5fa50ee35bb22c1abfbac1 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Wed, 28 Oct 2020 16:08:34 +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