From 19c193cc1a8791ef4e4e3afe4b4debbaa6faaeca Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Thu, 8 Dec 2022 17:26:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20vue3=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/codegen/vue3/views/data.ts.vm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm index 0aabf8d86..fb45c0815 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm @@ -43,7 +43,6 @@ const crudSchemas = reactive({ isForm: false, #elseif(!("" != $column.dictType)) #if (${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime") - formatter: 'formatDate', form: { component: 'DatePicker', componentProps: { @@ -96,6 +95,7 @@ const crudSchemas = reactive({ #elseif("" != $dictType) isSearch: true, #elseif($column.htmlType == "datetime") + formatter: 'formatDate', search: { show: true, itemRender: { @@ -104,8 +104,8 @@ const crudSchemas = reactive({ }, #end #end - #end }, + #end #end #end ]