소스 검색

重新登录先清楚浏览器中的用户信息

yejian016332 3 년 전
부모
커밋
27357d1dad
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      imcs-ui/src/views/login/index.vue

+ 2 - 0
imcs-ui/src/views/login/index.vue

@@ -538,6 +538,8 @@
         this.$store.commit("account/setExpireTime", expiration);
       },
       saveUserInfo(user) {
+        this.$store.commit("account/setUser", {
+        });
         this.$store.commit("account/setUser", {
           id: user.userId,
           account: user.account,