This commit is contained in:
李志鹏
2025-11-20 16:40:21 +08:00
6 changed files with 51 additions and 22 deletions

View File

@@ -5,6 +5,15 @@ export const useOverallStore = defineStore({
state: () => {
return {
loading:false,
/**
* 流程类型
* main: 主流程
* reinventing: 魔改
* stylist: 查看设计师
* clientId: 切换客户
*
*/
flowType:'',
}
},
getters: {
@@ -14,6 +23,9 @@ export const useOverallStore = defineStore({
// 全局loading
setLoading(data:boolean){
this.loading = data
},
setFlowType(data:string){
this.flowType = data
}
}
})