fix:【system 系统管理】ele、antd 的搜索清理属性不对的问题
This commit is contained in:
@@ -20,7 +20,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'RangePicker',
|
||||
componentProps: {
|
||||
...getRangePickerDefaultProps(),
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -28,7 +28,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '用户编号',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请输入用户编号',
|
||||
},
|
||||
},
|
||||
@@ -38,7 +38,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.USER_TYPE, 'number'),
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请选择用户类型',
|
||||
},
|
||||
},
|
||||
@@ -48,7 +48,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.SYSTEM_MAIL_SEND_STATUS, 'number'),
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请选择发送状态',
|
||||
},
|
||||
},
|
||||
@@ -60,7 +60,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
api: async () => await getSimpleMailAccountList(),
|
||||
labelField: 'mail',
|
||||
valueField: 'id',
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请选择邮箱账号',
|
||||
},
|
||||
},
|
||||
@@ -69,7 +69,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '模板编号',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请输入模板编号',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -161,7 +161,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请选择开启状态',
|
||||
},
|
||||
},
|
||||
@@ -170,7 +170,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '模板编码',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请输入模板编码',
|
||||
},
|
||||
},
|
||||
@@ -179,7 +179,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '模板名称',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请输入模板名称',
|
||||
},
|
||||
},
|
||||
@@ -191,7 +191,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
api: async () => await getSimpleMailAccountList(),
|
||||
labelField: 'mail',
|
||||
valueField: 'id',
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
placeholder: '请选择邮箱账号',
|
||||
},
|
||||
},
|
||||
@@ -201,7 +201,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'RangePicker',
|
||||
componentProps: {
|
||||
...getRangePickerDefaultProps(),
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user