帐号退出
This commit is contained in:
@@ -13,7 +13,7 @@ import { getValue } from './utils/common';
|
||||
export default defineComponent({
|
||||
setup(){
|
||||
if(getValue('token')){
|
||||
store.commit("login")
|
||||
store.commit("login", true)
|
||||
store.dispatch("setUserInfo");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user