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

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

View File

@@ -32,7 +32,10 @@ export function useGridFormSchema(): VbenFormSchema[] {
fieldName: 'createTime',
label: '创建时间',
component: 'RangePicker',
componentProps: getRangePickerDefaultProps(),
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
},
},
];
}

View File

@@ -42,7 +42,10 @@ export function useGridFormSchema(): VbenFormSchema[] {
fieldName: 'createTime',
label: '创建时间',
component: 'RangePicker',
componentProps: getRangePickerDefaultProps(),
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
},
},
];
}

View File

@@ -77,7 +77,10 @@ export function useGridFormSchema(): VbenFormSchema[] {
fieldName: 'createTime',
label: '创建时间',
component: 'RangePicker',
componentProps: getRangePickerDefaultProps(),
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
},
},
];
}