新增页面
This commit is contained in:
@@ -30,7 +30,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleLogout() {
|
||||
this.$store.commit("SET_TOKEN", '');
|
||||
this.$store.commit("REMOVE_TOKEN", '');
|
||||
this.$store.commit("SET_USERNAME", '');
|
||||
this.$router.push("/login");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user