add:退出清除缓存

master
bobi 2019-12-17 09:35:01 +08:00
parent 9ff8e6611e
commit ea253876a2
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ layui.use(["element", "layer", "okUtils", "okTab", "okLayer", "okContextMenu", "
$("#logout").click(function () {
okLayer.confirm("确定要退出吗?", function (index) {
okTab.removeTabStorage(function (res) {
okTab.removeTabStorage();
window.location = "pages/login.html";
});
});