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 GitHub
parent 2971ccc0b7
commit a8c4786311
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',