From eb340af57cd8e84e8d5fd2c627df1698717f0623 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 23 Dec 2020 15:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E7=AD=96=E7=95=A5=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E4=BF=AE=E6=94=B9=E5=90=8E=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E9=A6=96=E9=A1=B5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/sys/user/userInfo.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/modules/core/src/main/resources/views/modules/sys/user/userInfo.html b/modules/core/src/main/resources/views/modules/sys/user/userInfo.html index 821979cc..8c78a86f 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/userInfo.html +++ b/modules/core/src/main/resources/views/modules/sys/user/userInfo.html @@ -327,13 +327,16 @@ $("#inputFormPwd").validate({ } } js.ajaxSubmit(action, data, function(data, status, xhr){ - js.showMessage(data.message); if(data.result == Global.TRUE){ - if ('${parameter.url}'!=''){ - location = '${ctxPath}${parameter.url}'; - }else{ - location = '${ctx}/sys/user/info?op=pwd'; - } + js.alert(data.message, function(){ + if ('${parameter.url}'!=''){ + location = '${ctxPath}${parameter.url}'; + }else{ + location = '${ctx}/sys/user/info?op=pwd'; + } + }); + }else{ + js.showMessage(data.message); } }, "json"); }