import { ArrayItems } from '@formily/antd'; import { Select } from 'antd'; const GroupNameControl = (props: { name: string }) => { const index = ArrayItems.useIndex!(); return ( <> {index === 0 ? (
{props?.name || '第一组'}
) : (