This commit is contained in:
X1627315083
2025-10-09 09:35:36 +08:00
parent cc8c064d9c
commit bc8e03180e
107 changed files with 0 additions and 0 deletions

7
src/stores/index.ts Normal file
View File

@@ -0,0 +1,7 @@
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
// 创建store实例
const store = createPinia()
// 使用持久化插件(全局持久化)
store.use(createPersistedState())
export default store