车间能级提升-智能设备管理系统
zhuguifei
2025-04-18 eac7c5321dca68e34db95995db2cabd29b9324da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate' // 数据持久化
 
const store = createPinia()
store.use(
  createPersistedState({
    storage: {
      getItem: uni.getStorageSync,
      setItem: uni.setStorageSync,
    },
  }),
)
 
export default store
 
// 模块统一导出
export * from './user'
export * from './access'