From 31373500c27a16cfe0e7799a3dfce18616eb45b6 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 8 Apr 2022 21:08:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(editor):=20=E5=88=87=E6=8D=A2=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=E4=BC=9A=E8=BF=9E=E7=BB=AD=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E4=B8=A4=E6=AC=A1=E8=A1=A8=E5=8D=95=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/layouts/PropsPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/layouts/PropsPanel.vue b/packages/editor/src/layouts/PropsPanel.vue index 2f2c5542..4328291d 100644 --- a/packages/editor/src/layouts/PropsPanel.vue +++ b/packages/editor/src/layouts/PropsPanel.vue @@ -39,9 +39,9 @@ export default defineComponent({ return; } - values.value = node.value; const type = node.value.type || (node.value.items ? 'container' : 'text'); curFormConfig.value = (await services?.propsService.getPropsConfig(type)) || []; + values.value = node.value; }; watchEffect(init);