diff --git a/components/cascader/Cascader.js b/components/cascader/Cascader.js index f23bb7015..ae77280b0 100644 --- a/components/cascader/Cascader.js +++ b/components/cascader/Cascader.js @@ -47,7 +47,7 @@ class Cascader extends Component { const cascaderValue = this.props.value const cacheValue = this.props.value const cascaderLabel = this.getCascaderLabel(cascaderValue) - + this.hiCascader = React.createRef() this.debouncedKeywordChange = debounce(this.onKeywordChange.bind(this), 300) this.clickOutsideHandel = this.clickOutside.bind(this) this.state = { @@ -183,7 +183,7 @@ class Cascader extends Component { } = this.state if (!keyword) { this.setState({ - filterOptions: data + filterOptions: false }) return } @@ -333,9 +333,8 @@ class Cascader extends Component { } const expandIcon = popperShow ? 'icon-up' : 'icon-down' const placeholder = cascaderLabel || this.localeDatasProps('placeholder') - return ( -