From 9d079273621d45d163e68bf4e51e0d02784b6771 Mon Sep 17 00:00:00 2001 From: pengzhiwen3 Date: Tue, 31 Mar 2026 16:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=81=E6=9C=89api=E6=95=B4=E6=94=B9---?= =?UTF-8?q?=E3=80=90=E5=8A=A8=E6=80=81=E6=8E=A5=E5=8F=A3=E3=80=91dynamic?= =?UTF-8?q?=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: pengzhiwen3 --- compiler/components/dynamic_component.json | 6 ++++++ compiler/tsconfig.esm.json | 6 ++++++ compiler/tsconfig.json | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 compiler/components/dynamic_component.json diff --git a/compiler/components/dynamic_component.json b/compiler/components/dynamic_component.json new file mode 100644 index 0000000..fef273f --- /dev/null +++ b/compiler/components/dynamic_component.json @@ -0,0 +1,6 @@ +{ + "name": "DynamicComponent", + "attrs": [ + "onError" + ] +} \ No newline at end of file diff --git a/compiler/tsconfig.esm.json b/compiler/tsconfig.esm.json index 0e29e51..952b593 100644 --- a/compiler/tsconfig.esm.json +++ b/compiler/tsconfig.esm.json @@ -27,6 +27,7 @@ "DataPanel", "DatePicker", "Divider", + "DynamicComponent", "Ellipse", "Flex", "FormComponent", @@ -201,6 +202,11 @@ "type": "DividerAttribute", "instance": "DividerInstance" }, + { + "name": "DynamicComponent", + "type": "DynamicComponentAttribute", + "instance": "DynamicComponentInstance" + }, { "name": "Ellipse", "type": "EllipseAttribute", diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index 65cd87b..d5c7e8c 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -27,6 +27,7 @@ "DataPanel", "DatePicker", "Divider", + "DynamicComponent", "Ellipse", "Flex", "FormComponent", @@ -201,6 +202,11 @@ "type": "DividerAttribute", "instance": "DividerInstance" }, + { + "name": "DynamicComponent", + "type": "DynamicComponentAttribute", + "instance": "DynamicComponentInstance" + }, { "name": "Ellipse", "type": "EllipseAttribute",