add:退出清除缓存
parent
9ff8e6611e
commit
ea253876a2
|
|
@ -306,6 +306,7 @@ layui.use(["element", "layer", "okUtils", "okTab", "okLayer", "okContextMenu", "
|
||||||
$("#logout").click(function () {
|
$("#logout").click(function () {
|
||||||
okLayer.confirm("确定要退出吗?", function (index) {
|
okLayer.confirm("确定要退出吗?", function (index) {
|
||||||
okTab.removeTabStorage(function (res) {
|
okTab.removeTabStorage(function (res) {
|
||||||
|
okTab.removeTabStorage();
|
||||||
window.location = "pages/login.html";
|
window.location = "pages/login.html";
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue