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";
}
}
},