From e4d695ef93f77da276f32b63fedaef922545525f Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 23 Apr 2025 17:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/modules/gen/vue/vueFormChildList.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/resources/templates/modules/gen/vue/vueFormChildList.xml b/modules/core/src/main/resources/templates/modules/gen/vue/vueFormChildList.xml index 16dd9d44..5d927788 100644 --- a/modules/core/src/main/resources/templates/modules/gen/vue/vueFormChildList.xml +++ b/modules/core/src/main/resources/templates/modules/gen/vue/vueFormChildList.xml @@ -57,7 +57,7 @@ <% } %> const { t } = useI18n('${moduleName}${isNotEmpty(subModuleName)?'.'+subModuleName:''}.${className}'); - const record = ref({} as ${ParentClassName}); + const record = ref<${ParentClassName}>({} as ${ParentClassName}); const tableColumns: BasicColumn[] = [ <%