mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-16 10:32:01 +08:00
feat: add default placeholder for ApiSelect (#5078)
This commit is contained in:
@@ -55,7 +55,6 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
||||
},
|
||||
// 菜单接口
|
||||
api: getAllMenusApi,
|
||||
placeholder: '请选择',
|
||||
},
|
||||
// 字段名
|
||||
fieldName: 'api',
|
||||
@@ -71,7 +70,6 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
||||
childrenField: 'children',
|
||||
// 菜单接口转options格式
|
||||
labelField: 'name',
|
||||
placeholder: '请选择',
|
||||
valueField: 'path',
|
||||
},
|
||||
// 字段名
|
||||
|
||||
Reference in New Issue
Block a user