From c59aa8906f76206b61a9e5ad7fe7b0217f33b9cd Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期三, 14 八月 2024 11:04:04 +0800
Subject: [PATCH] fix: 新增资源上传图片和提示词
---
src/store/index.ts | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/store/index.ts b/src/store/index.ts
index 1f9ed2d..d3f0dab 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -3,8 +3,13 @@
import useUserStore from './modules/user';
import usePinia from './modules/storeMsg';
import useTabBarStore from './modules/tab-bar';
+import userModelState from './modules/shareModel';
+
+import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //寮曞叆鎸佷箙鍖栨彃浠�
const pinia = createPinia();
-export { useAppStore, useUserStore,usePinia, useTabBarStore };
+pinia.use(piniaPluginPersistedstate) //灏嗘彃浠舵坊鍔犲埌 pinia 瀹炰緥涓�
+
+export { useAppStore, useUserStore,usePinia, useTabBarStore,userModelState };
export default pinia;
--
Gitblit v1.8.0