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 ]