公告板
版本库
filestore
活动
搜索
登录
web-manage
/
web-manage
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
提交源码
seatonwan9
2025-08-28
14da39a3d869f252bf235b49c634c83998bc5660
[web-manage/web-manage.git]
/
src
/
stores
/
index.ts
1
2
3
4
5
6
7
8
9
// 状态管理器统一对外文件
import {createPinia} from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persistedstate'
const store = createPinia()
// 增加store的数据持久化
store.use(piniaPluginPersist)
export default store