Browse Source

fix: fix collpase dom useless attributes (#781)

代强 3 years ago
parent
commit
536f812767
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/semi-ui/collapse/item.tsx

+ 2 - 0
packages/semi-ui/collapse/item.tsx

@@ -89,6 +89,8 @@ export default class CollapsePanel extends PureComponent<CollapsePanelProps> {
             children,
             itemKey,
             reCalcKey,
+            header,
+            extra,
             ...restProps
         } = this.props;
         const {