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,7 +124,6 @@ export function useFormSchema(): VbenFormSchema[] { | ||
| 124 | component: 'InputNumber', | 124 | component: 'InputNumber', |
| 125 | componentProps: { | 125 | componentProps: { |
| 126 | min: 0, | 126 | min: 0, |
| 127 | - controlsPosition: 'right', | ||
| 128 | placeholder: '请输入${comment}', | 127 | placeholder: '请输入${comment}', |
| 129 | }, | 128 | }, |
| 130 | #end | 129 | #end |
| @@ -326,7 +325,6 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { | @@ -326,7 +325,6 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { | ||
| 326 | component: 'InputNumber', | 325 | component: 'InputNumber', |
| 327 | componentProps: { | 326 | componentProps: { |
| 328 | min: 0, | 327 | min: 0, |
| 329 | - controlsPosition: 'right', | ||
| 330 | placeholder: '请输入${comment}', | 328 | placeholder: '请输入${comment}', |
| 331 | }, | 329 | }, |
| 332 | #end | 330 | #end |
| @@ -560,7 +558,6 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api | @@ -560,7 +558,6 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api | ||
| 560 | component: 'InputNumber', | 558 | component: 'InputNumber', |
| 561 | componentProps: { | 559 | componentProps: { |
| 562 | min: 0, | 560 | min: 0, |
| 563 | - controlsPosition: 'right', | ||
| 564 | placeholder: '请输入${comment}', | 561 | placeholder: '请输入${comment}', |
| 565 | }, | 562 | }, |
| 566 | #end | 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,8 +124,9 @@ export function useFormSchema(): VbenFormSchema[] { | ||
| 124 | component: 'InputNumber', | 124 | component: 'InputNumber', |
| 125 | componentProps: { | 125 | componentProps: { |
| 126 | min: 0, | 126 | min: 0, |
| 127 | - controlsPosition: 'right', | ||
| 128 | placeholder: '请输入${comment}', | 127 | placeholder: '请输入${comment}', |
| 128 | + controlsPosition: 'right', | ||
| 129 | + class: '!w-full', | ||
| 129 | }, | 130 | }, |
| 130 | #end | 131 | #end |
| 131 | }, | 132 | }, |
| @@ -326,8 +327,9 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { | @@ -326,8 +327,9 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { | ||
| 326 | component: 'InputNumber', | 327 | component: 'InputNumber', |
| 327 | componentProps: { | 328 | componentProps: { |
| 328 | min: 0, | 329 | min: 0, |
| 329 | - controlsPosition: 'right', | ||
| 330 | placeholder: '请输入${comment}', | 330 | placeholder: '请输入${comment}', |
| 331 | + controlsPosition: 'right', | ||
| 332 | + class: '!w-full', | ||
| 331 | }, | 333 | }, |
| 332 | #end | 334 | #end |
| 333 | }, | 335 | }, |
| @@ -560,8 +562,9 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api | @@ -560,8 +562,9 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api | ||
| 560 | component: 'InputNumber', | 562 | component: 'InputNumber', |
| 561 | componentProps: { | 563 | componentProps: { |
| 562 | min: 0, | 564 | min: 0, |
| 563 | - controlsPosition: 'right', | ||
| 564 | placeholder: '请输入${comment}', | 565 | placeholder: '请输入${comment}', |
| 566 | + controlsPosition: 'right', | ||
| 567 | + class: '!w-full', | ||
| 565 | }, | 568 | }, |
| 566 | #end | 569 | #end |
| 567 | }, | 570 | }, |