This commit is contained in:
2025-05-21 15:45:10 +08:00
parent f6ed5b04de
commit 5d96054c0c
44 changed files with 2460 additions and 2126 deletions

View File

@@ -0,0 +1,11 @@
import {defineStore} from "pinia";
import {reactive} from "vue";
export const useSystemStore = defineStore('SystemStore', () => {
const accountManagementPo = reactive({
pid: null,
});
return {
accountManagementPo,
}
});

View File

@@ -20,11 +20,17 @@ export const useUserStore = defineStore('UserStore', () => {
Object.assign(userInfo, data);
}
const setToken = (value) => {
isLogin.value = true;
token.value = value;
}
return {
isLogin,
userInfo,
token,
logout,
setToken,
getUserInfo,
}
}, {