删除vuex中的username
This commit is contained in:
@@ -314,7 +314,7 @@ export default {
|
||||
// 关闭websocket连接,清除 token 和用户信息
|
||||
closeWebSocket();
|
||||
this.$store.commit("SET_TOKEN", "");
|
||||
this.$store.commit("SET_USERNAME", "");
|
||||
this.$router.push("/login");
|
||||
},
|
||||
|
||||
// 获取当前登录用户信息
|
||||
|
||||
Reference in New Issue
Block a user