修正beetl修改密码后再登录系统,没有跳转到首页问题

This commit is contained in:
thinkgem
2025-06-30 11:18:50 +08:00
parent 1ca6bfa942
commit b12a225768

View File

@@ -313,7 +313,7 @@ $("#inputFormBase").validate({
js.ajaxSubmitForm($(form), function(data){
js.showMessage(data.message);
if(data.result == Global.TRUE){
location = '${ctx}/sys/user/info?op=base';
js.window.location = '${ctx}/sys/user/info?op=base';
}
}, "json");
}
@@ -353,7 +353,8 @@ $("#inputFormPwd").validate({
if ('${parameter.url}'!=''){
js.window.location = '${ctxPath}${parameter.url}';
}else{
js.window.location = '${ctx}/sys/user/info?op=mpd';
//js.window.location = '${ctx}/sys/user/info?op=mpd';
js.window.location = '${ctxPath}';
}
});
}else{
@@ -385,7 +386,7 @@ $("#inputFormPqa").validate({
js.ajaxSubmitForm($(form), function(data){
js.showMessage(data.message);
if(data.result == Global.TRUE){
location = '${ctx}/sys/user/info?op=pqa';
js.window.location = '${ctx}/sys/user/info?op=pqa';
}
}, "json");
$('#validPassword').val(validPassword);