Merge remote-tracking branch 'gitee/dev' into dev

This commit is contained in:
bwcx_jzy 2019-07-31 20:02:02 +08:00
commit 9edbd42547
3 changed files with 19 additions and 1 deletions

View File

@ -1,5 +1,16 @@
# 版本日志 # 版本日志
## 2.4.3
### 新增功能
### 解决BUG、优化功能
1. 未登录重定向带入参数
2. 页面登录方法调整支持自定义事件登录
-----------------------------------------------------------
## 2.4.2 ## 2.4.2
### 新增功能 ### 新增功能

View File

@ -103,7 +103,10 @@
'title': '系统提示' 'title': '系统提示'
}, function (index) { }, function (index) {
layer.close(index); layer.close(index);
layui.data('user', null); layui.data('user', {
key: "loginOut",
value: true
});
window.location.href = "#if($node).#end./logout"; window.location.href = "#if($node).#end./logout";
}) })
} }

View File

@ -115,6 +115,10 @@
key: "userName", key: "userName",
value: sendData.userName value: sendData.userName
}); });
layui.data('user', {
key: "loginOut",
remove: true
});
window.location.href = './index'; window.location.href = './index';
} else { } else {
// 显示验证码 // 显示验证码