帐号退出

This commit is contained in:
2020-10-14 09:32:12 +08:00
parent 9fa44512e4
commit 5e4db83a24
5 changed files with 12 additions and 7 deletions

View File

@@ -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");
}
}