fix:【antd】移除 controlsPosition ,因为 inputnumber 没这个属性,只有 ele 才有
This commit is contained in:
@@ -136,7 +136,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
label: '角色排序',
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
controlsPosition: 'right',
|
||||
placeholder: '请输入角色排序',
|
||||
class: 'w-full',
|
||||
},
|
||||
|
||||
@@ -72,7 +72,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
label: '模型排序',
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
controlsPosition: 'right',
|
||||
placeholder: '请输入模型排序',
|
||||
class: 'w-full',
|
||||
},
|
||||
@@ -94,7 +93,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
label: '温度参数',
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
controlsPosition: 'right',
|
||||
placeholder: '请输入温度参数',
|
||||
class: 'w-full',
|
||||
min: 0,
|
||||
@@ -115,7 +113,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
componentProps: {
|
||||
min: 0,
|
||||
max: 8192,
|
||||
controlsPosition: 'right',
|
||||
placeholder: '请输入回复数 Token 数',
|
||||
class: 'w-full',
|
||||
},
|
||||
@@ -134,7 +131,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
componentProps: {
|
||||
min: 0,
|
||||
max: 20,
|
||||
controlsPosition: 'right',
|
||||
placeholder: '请输入上下文数量',
|
||||
class: 'w-full',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user