fix: debug

This commit is contained in:
osiris
2024-03-06 16:55:48 +08:00
parent 3a0eaa24ac
commit 9c8d1e2f86
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export const useUserStore = defineStore('user', {
},
//获取用户信息
async userInfo() {
if (this.token?.length == 0) {
if (!this.isLogin()) {
return
}
//发送请求