diff --git a/components/tabs/index.tsx b/components/tabs/index.tsx index 482accd831..f44d27e290 100755 --- a/components/tabs/index.tsx +++ b/components/tabs/index.tsx @@ -101,7 +101,7 @@ export default class Tabs extends React.Component { animated, } = this.props; - let {inkBarAnimated, tabPaneAnimated} = typeof animated === 'object' ? { + let { inkBarAnimated, tabPaneAnimated } = typeof animated === 'object' ? { inkBarAnimated: animated.inkBar, tabPaneAnimated: animated.tabPane, } : { inkBarAnimated: animated, tabPaneAnimated: animated, diff --git a/components/tree/index.tsx b/components/tree/index.tsx index 29de396184..61ea401a30 100644 --- a/components/tree/index.tsx +++ b/components/tree/index.tsx @@ -106,7 +106,7 @@ export default class Tree extends React.Component { ) : checkable } + checkable={checkable ? () : checkable} > {this.props.children}