src/store/index.ts
@@ -1,9 +1,10 @@ import { createPinia } from 'pinia'; import useAppStore from './modules/app'; import useUserStore from './modules/user'; import usePinia from './modules/storeMsg'; import useTabBarStore from './modules/tab-bar'; const pinia = createPinia(); export { useAppStore, useUserStore, useTabBarStore }; export { useAppStore, useUserStore,usePinia, useTabBarStore }; export default pinia;