feat: add default placeholder
for ApiSelect
(#5078)
This commit is contained in:
@@ -36,7 +36,6 @@ const [Form, formApi] = useVbenForm({
|
||||
},
|
||||
// 菜单接口
|
||||
api: getAllMenusApi,
|
||||
placeholder: '请选择',
|
||||
},
|
||||
// 字段名
|
||||
fieldName: 'api',
|
||||
@@ -52,7 +51,6 @@ const [Form, formApi] = useVbenForm({
|
||||
childrenField: 'children',
|
||||
// 菜单接口转options格式
|
||||
labelField: 'name',
|
||||
placeholder: '请选择',
|
||||
valueField: 'path',
|
||||
},
|
||||
// 字段名
|
||||
|
Reference in New Issue
Block a user