fix: lint

This commit is contained in:
xingyu4j
2025-10-23 09:51:25 +08:00
parent 806caf8b48
commit 7ae3ac66fc
14 changed files with 74 additions and 42 deletions

View File

@@ -29,7 +29,7 @@ export function useFormSchema(): VbenFormSchema[] {
label: '所属产品',
component: 'ApiSelect',
componentProps: {
api: () => getSimpleProductList(),
api: getSimpleProductList,
labelField: 'name',
valueField: 'id',
placeholder: '请选择产品',
@@ -85,7 +85,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '产品',
component: 'ApiSelect',
componentProps: {
api: () => getSimpleProductList(),
api: getSimpleProductList,
labelField: 'name',
valueField: 'id',
placeholder: '请选择产品',
@@ -96,7 +96,10 @@ export function useGridFormSchema(): VbenFormSchema[] {
fieldName: 'createTime',
label: '创建时间',
component: 'RangePicker',
componentProps: getRangePickerDefaultProps(),
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
},
},
];
}