|
@@ -213,10 +213,10 @@
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- // if (localStorage.userInfo != null) {
|
|
|
- // this.$router.push("/index").catch(err => { console.log(err, '错误4')});
|
|
|
- // }
|
|
|
- localStorage.clear()
|
|
|
+ if (localStorage.userInfo != null) {
|
|
|
+ this.$router.push("/index").catch(err => { console.log(err, '错误4')});
|
|
|
+ }
|
|
|
+ // localStorage.clear()
|
|
|
|
|
|
// 米莱的用工号登录
|
|
|
let windowHerf = window.location.href
|