From 81065b8fa819ee2653ee23a3574868784a9be412 Mon Sep 17 00:00:00 2001 From: bingbing <zhaobingliang@aliyun.com> Date: Fri, 26 Feb 2021 16:10:34 +0800 Subject: [PATCH] 运营平台添加医生或H端添加医生密码为默认的 --- 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