登录时增加用户id存储到本地

This commit is contained in:
尹吉欢
2018-05-07 16:22:40 +08:00
parent 9d143205c5
commit bac1db671e
7 changed files with 11 additions and 3 deletions
+1
View File
@@ -71,6 +71,7 @@
if (day >= 25) {
localStorage.removeItem("user_token");
localStorage.removeItem("user_token_add_time");
localStorage.removeItem("user_id");
}
//mui初始化
mui.init();