<Menu theme='dark' mode='horizontal'
defaultSelectedKeys={[selectedSubSystem]} items={subSystem}
onSelect={(selectedKeys: SelectInfo) => handleSubSystemSelect(selectedKeys)}
/>
ant design根据onselect方法建立对应关系
微信扫一扫
<Menu theme='dark' mode='horizontal'
defaultSelectedKeys={[selectedSubSystem]} items={subSystem}
onSelect={(selectedKeys: SelectInfo) => handleSubSystemSelect(selectedKeys)}
/>
ant design根据onselect方法建立对应关系
相关推荐