Lijy il y a 2 ans
Parent
commit
c82388c6c3

+ 4 - 3
fhKeeper/formulahousekeeper/timesheet_h5/src/views/login/index.vue

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