From 74f0b8864272be1f52c22f53c8f909a4a0a1052e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <852955+jishenghua@users.noreply.gitee.com> Date: Thu, 16 May 2019 00:11:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BB=E5=BD=95=E7=9A=84bu?= =?UTF-8?q?g=EF=BC=8C=E5=85=BC=E5=AE=B9https=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/login.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erp_web/login.html b/erp_web/login.html index 20b3de32..6b6a8fb1 100644 --- a/erp_web/login.html +++ b/erp_web/login.html @@ -166,11 +166,9 @@ success: function (res) { if(res && res.code === 200) { if(res.data.user) { - console.log("user"); var user = res.data.user; sessionStorage.setItem("userId", user.id); - console.log("http://" + location.host + "/index.html"); - top.location.href = "http://" + location.host + "/index.html"; + top.location.href = "/index.html"; } } },