Commit 1a7a21826b3beb68fa25ce0b6b61fcff0130a7bd
1 parent
2c41d562
feat:【infra】代码生成:vben5 + ele 模版中,DatePicker 增加 class: '!w-full' 保证宽度
Showing
1 changed file
with
3 additions
and
0 deletions
yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/data.ts.vm
| ... | ... | @@ -114,6 +114,7 @@ export function useFormSchema(): VbenFormSchema[] { |
| 114 | 114 | showTime: true, |
| 115 | 115 | format: 'YYYY-MM-DD HH:mm:ss', |
| 116 | 116 | valueFormat: 'x', |
| 117 | + class: '!w-full', | |
| 117 | 118 | }, |
| 118 | 119 | #elseif($column.htmlType == "textarea")## 文本域 |
| 119 | 120 | component: 'Textarea', |
| ... | ... | @@ -317,6 +318,7 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { |
| 317 | 318 | showTime: true, |
| 318 | 319 | format: 'YYYY-MM-DD HH:mm:ss', |
| 319 | 320 | valueFormat: 'x', |
| 321 | + class: '!w-full', | |
| 320 | 322 | }, |
| 321 | 323 | #elseif($column.htmlType == "textarea")## 文本域 |
| 322 | 324 | component: 'Textarea', |
| ... | ... | @@ -552,6 +554,7 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api |
| 552 | 554 | showTime: true, |
| 553 | 555 | format: 'YYYY-MM-DD HH:mm:ss', |
| 554 | 556 | valueFormat: 'x', |
| 557 | + class: '!w-full', | |
| 555 | 558 | }, |
| 556 | 559 | #elseif($column.htmlType == "textarea")## 文本域 |
| 557 | 560 | component: 'Textarea', | ... | ... |