mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
fix: vue3 代码生成
This commit is contained in:
parent
0a805483a9
commit
19c193cc1a
@ -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,10 +104,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
},
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
},
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
]
|
||||
})
|
||||
export const { allSchemas } = useVxeCrudSchemas(crudSchemas)
|
Loading…
Reference in New Issue
Block a user