feat: api-component support autoSelect prop (#5931)

* feat: api-component support autoSelect prop

* docs: add version requirement
This commit is contained in:
Netfan
2025-04-12 14:02:35 +08:00
committed by YunaiV
parent 5010622736
commit dea404b433
3 changed files with 66 additions and 21 deletions

View File

@@ -74,6 +74,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
},
// 菜单接口
api: getAllMenusApi,
autoSelect: 'first',
},
// 字段名
fieldName: 'api',