Commit 32758bc4c1b47f79161dd13124c53dced29afeda
1 parent
a860aac4
feat:【infra 基础设施】统一 InputNumber 的 controlsPosition 写法
Showing
2 changed files
with
6 additions
and
6 deletions
yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm
| ... | ... | @@ -124,7 +124,6 @@ export function useFormSchema(): VbenFormSchema[] { |
| 124 | 124 | component: 'InputNumber', |
| 125 | 125 | componentProps: { |
| 126 | 126 | min: 0, |
| 127 | - controlsPosition: 'right', | |
| 128 | 127 | placeholder: '请输入${comment}', |
| 129 | 128 | }, |
| 130 | 129 | #end |
| ... | ... | @@ -326,7 +325,6 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { |
| 326 | 325 | component: 'InputNumber', |
| 327 | 326 | componentProps: { |
| 328 | 327 | min: 0, |
| 329 | - controlsPosition: 'right', | |
| 330 | 328 | placeholder: '请输入${comment}', |
| 331 | 329 | }, |
| 332 | 330 | #end |
| ... | ... | @@ -560,7 +558,6 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api |
| 560 | 558 | component: 'InputNumber', |
| 561 | 559 | componentProps: { |
| 562 | 560 | min: 0, |
| 563 | - controlsPosition: 'right', | |
| 564 | 561 | placeholder: '请输入${comment}', |
| 565 | 562 | }, |
| 566 | 563 | #end | ... | ... |
yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/data.ts.vm
| ... | ... | @@ -124,8 +124,9 @@ export function useFormSchema(): VbenFormSchema[] { |
| 124 | 124 | component: 'InputNumber', |
| 125 | 125 | componentProps: { |
| 126 | 126 | min: 0, |
| 127 | - controlsPosition: 'right', | |
| 128 | 127 | placeholder: '请输入${comment}', |
| 128 | + controlsPosition: 'right', | |
| 129 | + class: '!w-full', | |
| 129 | 130 | }, |
| 130 | 131 | #end |
| 131 | 132 | }, |
| ... | ... | @@ -326,8 +327,9 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { |
| 326 | 327 | component: 'InputNumber', |
| 327 | 328 | componentProps: { |
| 328 | 329 | min: 0, |
| 329 | - controlsPosition: 'right', | |
| 330 | 330 | placeholder: '请输入${comment}', |
| 331 | + controlsPosition: 'right', | |
| 332 | + class: '!w-full', | |
| 331 | 333 | }, |
| 332 | 334 | #end |
| 333 | 335 | }, |
| ... | ... | @@ -560,8 +562,9 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api |
| 560 | 562 | component: 'InputNumber', |
| 561 | 563 | componentProps: { |
| 562 | 564 | min: 0, |
| 563 | - controlsPosition: 'right', | |
| 564 | 565 | placeholder: '请输入${comment}', |
| 566 | + controlsPosition: 'right', | |
| 567 | + class: '!w-full', | |
| 565 | 568 | }, |
| 566 | 569 | #end |
| 567 | 570 | }, | ... | ... |