web-class-frontend/app/stores/system.ts

13 lines
281 B
TypeScript
Raw Normal View History

2025-04-23 17:43:14 +08:00
export interface SystemStore {
currentPage: string;
collapsed: boolean;
manualCollapsed: boolean;
}
export const useSystemStore = defineStore('System', {
state: (): SystemStore => ({
currentPage: 'dashboard',
collapsed: false,
manualCollapsed: false,
}),
});