Browse Source

chore: 支持累加属性

master
wangxiang 2 years ago
parent
commit
2a428f4b21
  1. 4
      src/store/modules/microApp.ts

4
src/store/modules/microApp.ts

@ -28,10 +28,10 @@ export const useMicroAppStore = defineStore({ @@ -28,10 +28,10 @@ export const useMicroAppStore = defineStore({
},
actions: {
setFormDesignApp(data: Recordable): void {
this.formDesignApp = data;
this.formDesignApp = { ...this.formDesignApp, ...data };
},
setWorkflowDesignApp(data: Recordable): void {
this.workflowDesignApp = data;
this.workflowDesignApp = { ...this.workflowDesignApp, ...data };
}
}
});

Loading…
Cancel
Save