mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
fix: vue3 代码生成
This commit is contained in:
parent
0a805483a9
commit
19c193cc1a
@ -43,7 +43,6 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
|||||||
isForm: false,
|
isForm: false,
|
||||||
#elseif(!("" != $column.dictType))
|
#elseif(!("" != $column.dictType))
|
||||||
#if (${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime")
|
#if (${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime")
|
||||||
formatter: 'formatDate',
|
|
||||||
form: {
|
form: {
|
||||||
component: 'DatePicker',
|
component: 'DatePicker',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
@ -96,6 +95,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
|||||||
#elseif("" != $dictType)
|
#elseif("" != $dictType)
|
||||||
isSearch: true,
|
isSearch: true,
|
||||||
#elseif($column.htmlType == "datetime")
|
#elseif($column.htmlType == "datetime")
|
||||||
|
formatter: 'formatDate',
|
||||||
search: {
|
search: {
|
||||||
show: true,
|
show: true,
|
||||||
itemRender: {
|
itemRender: {
|
||||||
@ -104,10 +104,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
|||||||
},
|
},
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
#end
|
|
||||||
},
|
},
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
|
#end
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export const { allSchemas } = useVxeCrudSchemas(crudSchemas)
|
export const { allSchemas } = useVxeCrudSchemas(crudSchemas)
|
Loading…
Reference in New Issue
Block a user