更新
This commit is contained in:
@@ -46,7 +46,7 @@ export default {
|
||||
logout() {
|
||||
serve.loginOut().then((res) => {
|
||||
if (res.code === 20000) {
|
||||
localStorage.removeItem("token");
|
||||
localStorage.removeItem("businessToken");
|
||||
this.$router.push("/login");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user