Merge branch 'main' of http://18.167.251.121:10003/aidlab/lanecarford_front
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user