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

@@ -26,7 +26,7 @@ export function useFormSchema(): VbenFormSchema[] {
label: '上级部门',
component: 'ApiTreeSelect',
componentProps: {
allowClear: true,
clearable: true,
api: async () => {
const data = await getDeptList();
data.unshift({
@@ -72,7 +72,7 @@ export function useFormSchema(): VbenFormSchema[] {
labelField: 'nickname',
valueField: 'id',
placeholder: '请选择负责人',
allowClear: true,
clearable: true,
},
rules: z.number().optional(),
},