源文件

This commit is contained in:
gyq
2024-05-23 14:39:33 +08:00
commit a1128dd791
2997 changed files with 500069 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import { reactive } from "vue"
const store = reactive({
mchInfo: {}, // 商户信息
storeInfo: {}, // 门店信息
appInfo: {}, // 应用信息
bindMch: {}, // 商户绑定信息
team: {}, //团队信息
teamInfo: {}, //团队详情
createINfo: {}, //创建辅助终端设备需要信息
userState: {}, //注册状态
})
export default function () {
const getStore = (key) => {
return store[key]
}
const setStore = (key, value) => {
store[key] = value
}
const clearItem = (key) => {
store[key] = {}
}
return {
getStore,
setStore,
clearItem,
}
}