Browse Source

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

yejian016332 3 năm trước cách đây
mục cha
commit
27357d1dad
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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,