From 9f7ae56f71c5641f5eafe163fce2ff8dafbb69b3 Mon Sep 17 00:00:00 2001 From: qiankunpingtai Date: Tue, 23 Apr 2019 10:18:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=80=E5=87=BA=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E5=8F=96=E6=B6=88=E4=B9=9F=E9=80=80?= =?UTF-8?q?=E5=87=BA=E7=B3=BB=E7=BB=9F=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/pages/common/main.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/erp_web/pages/common/main.html b/erp_web/pages/common/main.html index 90ec09ad..297b3d92 100644 --- a/erp_web/pages/common/main.html +++ b/erp_web/pages/common/main.html @@ -105,9 +105,13 @@ }); $('#loginOut').click(function () { - if (confirm("确认要退出系统吗?")) + if (confirm("确认要退出系统吗?")){ + //确定 sessionStorage.removeItem("userId"); location.href = '/user/logout'; + }else{ + //取消 + } }) //IE下禁止选中 document.body.onselectstart = document.body.ondrag = function () {