From 3a1933de583f2ebb2bfd6c9f2960f748fe8c3462 Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期五, 12 七月 2024 17:40:26 +0800 Subject: [PATCH] “个人中心开发” --- src/store/index.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index aba1b6d..a82e0ac 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,5 +1,7 @@ import { createPinia } from 'pinia'; +import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'; const pinia = createPinia(); +pinia.use(piniaPluginPersistedstate); export default pinia; export * from './modules/user.js'; -- Gitblit v1.8.0