fix:【system 系统管理】ele、antd 的搜索清理属性不对的问题
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user