Commit baa2e69cdf16b70c7cd4c0fab5fda0d574e7c84c

Authored by xingyu
1 parent 1a999cbb

fix: vben codegen

yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/data.ts.vm
@@ -30,7 +30,7 @@ export const columns: BasicColumn[] = [ @@ -30,7 +30,7 @@ export const columns: BasicColumn[] = [
30 { 30 {
31 title: '${comment}', 31 title: '${comment}',
32 dataIndex: '${javaField}', 32 dataIndex: '${javaField}',
33 - width: 160 33 + width: 160,
34 }, 34 },
35 #end 35 #end
36 #end 36 #end
@@ -61,7 +61,7 @@ export const searchFormSchema: FormSchema[] = [ @@ -61,7 +61,7 @@ export const searchFormSchema: FormSchema[] = [
61 #elseif($column.htmlType == "datetime") 61 #elseif($column.htmlType == "datetime")
62 component: 'RangePicker', 62 component: 'RangePicker',
63 #end 63 #end
64 - colProps: { span: 8 } 64 + colProps: { span: 8 },
65 }, 65 },
66 #end 66 #end
67 #end 67 #end
@@ -72,7 +72,7 @@ export const createFormSchema: FormSchema[] = [ @@ -72,7 +72,7 @@ export const createFormSchema: FormSchema[] = [
72 label: '编号', 72 label: '编号',
73 field: 'id', 73 field: 'id',
74 show: false, 74 show: false,
75 - component: 'Input' 75 + component: 'Input',
76 }, 76 },
77 #foreach($column in $columns) 77 #foreach($column in $columns)
78 #if ($column.createOperation) 78 #if ($column.createOperation)
@@ -146,7 +146,7 @@ export const updateFormSchema: FormSchema[] = [ @@ -146,7 +146,7 @@ export const updateFormSchema: FormSchema[] = [
146 label: '编号', 146 label: '编号',
147 field: 'id', 147 field: 'id',
148 show: false, 148 show: false,
149 - component: 'Input' 149 + component: 'Input',
150 }, 150 },
151 #foreach($column in $columns) 151 #foreach($column in $columns)
152 #if ($column.updateOperation) 152 #if ($column.updateOperation)