Tabs 模式 unique 失效问题修复

This commit is contained in:
2betop 2020-01-17 11:18:06 +08:00
parent b8273f0918
commit 646d0eee15
1 changed files with 3 additions and 2 deletions

View File

@ -754,8 +754,9 @@ export default class ComboControl extends React.Component<ComboProps> {
key={this.keys[index] || (this.keys[index] = guid())}
toolbar={toolbar}
eventKey={index}
mountOnEnter={true}
unmountOnExit={false}
// 先注掉,因为 unique 会失效。
// mountOnEnter={true}
// unmountOnExit={false}
>
{condition && typeSwitchable !== false ? (
<div className={cx('Combo-itemTag')}>