1 parent
23c2fbbdd5
commit
c347f30c0c
18 files changed
+2743
-939
No files matched your search
@@ -4,12 +4,14 @@ import {http} from "@/utils/axios";
|
||||
const useGlobalStatusStore = defineStore('useGlobalStatusStore', {
|
||||
state() {
|
||||
return {
|
||||
userInfos: {}
|
||||
userInfos: {},
|
||||
mobileDrawerVisible: false,
|
||||
settingsDrawerVisible: false
|
||||
}
|
||||
},
|
||||
getters: {
|
||||
isLogin(state) {
|
||||
return Object.keys(state.userInfos) !== 0
|
||||
return Object.keys(state.userInfos).length !== 0
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
Reference in new issue
Block a user