fix:【system 系统管理】ele、antd 的搜索清理属性不对的问题

This commit is contained in:
YunaiV
2025-09-06 10:24:59 +08:00
parent fcaa81ff3b
commit 0539aece1b
90 changed files with 259 additions and 259 deletions

View File

@@ -82,7 +82,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -25,7 +25,7 @@ export function useFormSchema(): VbenFormSchema[] {
label: '上级分类',
component: 'ApiTreeSelect',
componentProps: {
allowClear: true,
clearable: true,
api: async () => {
const data = await getCategoryList({ parentId: 0 });
data.unshift({

View File

@@ -107,7 +107,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -37,7 +37,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -79,7 +79,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -140,7 +140,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -106,7 +106,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -54,7 +54,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -47,7 +47,7 @@ function handleReject(row: MallBrokerageWithdrawApi.BrokerageWithdraw) {
component: () => {
return h(ElInput, {
placeholder: '请输入驳回原因',
allowClear: true,
clearable: true,
rules: [{ required: true, message: '请输入驳回原因' }],
});
},

View File

@@ -76,7 +76,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '状态',
component: 'Select',
componentProps: {
allowClear: true,
clearable: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},

View File

@@ -59,7 +59,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '计费方式',
component: 'Select',
componentProps: {
allowClear: true,
clearable: true,
options: getDictOptions(DICT_TYPE.EXPRESS_CHARGE_MODE, 'number'),
},
},

View File

@@ -24,7 +24,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
{

View File

@@ -135,7 +135,7 @@ export function useBindFormSchema(): VbenFormSchema[] {
labelField: 'nickname',
valueField: 'id',
mode: 'tags',
allowClear: true,
clearable: true,
},
},
{
@@ -176,7 +176,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '门店状态',
component: 'Select',
componentProps: {
allowClear: true,
clearable: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},
@@ -186,7 +186,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];

View File

@@ -49,7 +49,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
{