From 2a428f4b21db11724250e260f9a3e3409f33e570 Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Wed, 26 Jul 2023 10:55:44 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=94=AF=E6=8C=81=E7=B4=AF=E5=8A=A0?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/microApp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/microApp.ts b/src/store/modules/microApp.ts index 78b0043..40b68d1 100644 --- a/src/store/modules/microApp.ts +++ b/src/store/modules/microApp.ts @@ -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 }; } } });