All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped
12 lines
390 B
TypeScript
12 lines
390 B
TypeScript
import { createPinia } from 'pinia'
|
|
import { createPersistedState } from 'pinia-persistedstate-plugin'
|
|
// 创建store实例
|
|
const store = createPinia()
|
|
// 使用持久化插件(全局持久化)
|
|
store.use(createPersistedState())
|
|
export default store
|
|
export * from './modules/h_generate'
|
|
export * from './modules/generate'
|
|
export * from './modules/overall'
|
|
export * from './modules/userInfo'
|