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,6 +114,7 @@ export function useFormSchema(): VbenFormSchema[] { | ||
| 114 | showTime: true, | 114 | showTime: true, |
| 115 | format: 'YYYY-MM-DD HH:mm:ss', | 115 | format: 'YYYY-MM-DD HH:mm:ss', |
| 116 | valueFormat: 'x', | 116 | valueFormat: 'x', |
| 117 | + class: '!w-full', | ||
| 117 | }, | 118 | }, |
| 118 | #elseif($column.htmlType == "textarea")## 文本域 | 119 | #elseif($column.htmlType == "textarea")## 文本域 |
| 119 | component: 'Textarea', | 120 | component: 'Textarea', |
| @@ -317,6 +318,7 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { | @@ -317,6 +318,7 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { | ||
| 317 | showTime: true, | 318 | showTime: true, |
| 318 | format: 'YYYY-MM-DD HH:mm:ss', | 319 | format: 'YYYY-MM-DD HH:mm:ss', |
| 319 | valueFormat: 'x', | 320 | valueFormat: 'x', |
| 321 | + class: '!w-full', | ||
| 320 | }, | 322 | }, |
| 321 | #elseif($column.htmlType == "textarea")## 文本域 | 323 | #elseif($column.htmlType == "textarea")## 文本域 |
| 322 | component: 'Textarea', | 324 | component: 'Textarea', |
| @@ -552,6 +554,7 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api | @@ -552,6 +554,7 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api | ||
| 552 | showTime: true, | 554 | showTime: true, |
| 553 | format: 'YYYY-MM-DD HH:mm:ss', | 555 | format: 'YYYY-MM-DD HH:mm:ss', |
| 554 | valueFormat: 'x', | 556 | valueFormat: 'x', |
| 557 | + class: '!w-full', | ||
| 555 | }, | 558 | }, |
| 556 | #elseif($column.htmlType == "textarea")## 文本域 | 559 | #elseif($column.htmlType == "textarea")## 文本域 |
| 557 | component: 'Textarea', | 560 | component: 'Textarea', |