uniapps/work-app/src/store/index.js
@@ -6,6 +6,7 @@ import useAppStore from "./modules/app" import useUserStore from "./modules/user" import useMapStore from "./modules/map" import useLocationStore from "./modules/location" // 安装pinia状态管理插件 function setupStore (app) { @@ -23,5 +24,5 @@ } // 导出模块 export { useAppStore, useUserStore, useMapStore } export { useAppStore, useUserStore, useMapStore, useLocationStore } export default setupStore