chore: 所有表格的搜索加上allowClear属性 支持清除

This commit is contained in:
dap
2024-10-20 18:16:47 +08:00
parent 8395a7f167
commit 1b8d6c193e
21 changed files with 67 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ import { columns, querySchema } from './data';
const formOptions: VbenFormProps = {
commonConfig: {
labelWidth: 80,
componentProps: {
allowClear: true,
},
},
schema: querySchema(),
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4',