| 12345678910111213141516171819202122 |
- /*
- * @Author: liuJie
- * @Date: 2026-01-26 21:52:39
- * @LastEditors: liuJie
- * @LastEditTime: 2026-01-27 10:10:22
- * @Describe: file describe
- */
- import type { App } from 'vue'
- import { createPinia } from 'pinia'
- import { useDashboardStore } from './modules/dashboard'
- import { usePermissionStore } from './modules/permission.store'
- import { useRunnerStore } from './modules/runner.store'
- const pinia = createPinia()
- const store = (app: App<Element>) => {
- app.use(pinia)
- }
- export { pinia, useDashboardStore, usePermissionStore, useRunnerStore }
- export default store
|