fix: vue3 代码生成

This commit is contained in:
xingyu4j 2022-12-08 17:26:06 +08:00
parent 0a805483a9
commit 19c193cc1a

View File

@ -43,7 +43,6 @@ const crudSchemas = reactive<VxeCrudSchema>({
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<VxeCrudSchema>({
#elseif("" != $dictType)
isSearch: true,
#elseif($column.htmlType == "datetime")
formatter: 'formatDate',
search: {
show: true,
itemRender: {
@ -104,8 +104,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
},
#end
#end
#end
},
#end
#end
#end
]