diff --git a/yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm b/yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm index 24eba23..f1917ce 100644 --- a/yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm +++ b/yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm @@ -123,6 +123,7 @@ export function useFormSchema(): VbenFormSchema[] { #elseif($column.htmlType == "inputNumber")## 数字输入框 component: 'InputNumber', componentProps: { + class: '!w-full', min: 0, placeholder: '请输入${comment}', }, @@ -339,6 +340,7 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] { #elseif($column.htmlType == "inputNumber")## 数字输入框 component: 'InputNumber', componentProps: { + class: '!w-full', min: 0, placeholder: '请输入${comment}', }, @@ -572,6 +574,7 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api #elseif($column.htmlType == "inputNumber")## 数字输入框 component: 'InputNumber', componentProps: { + class: '!w-full', min: 0, placeholder: '请输入${comment}', }, @@ -613,4 +616,4 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api } #end #end -#end \ No newline at end of file +#end