Commit 4fb030cc authored by 张博's avatar 张博

1

parent 131e2181
......@@ -66,9 +66,8 @@ class PointLeftTree extends Component {
this.setState({ pointType: value });
this.props.pointTypeChange(value);
}
onSearchChange = e => {
onSearchChange = (e,value) => {
const { treeDataList,treeData } = this.state;
const value = e.target.value;
const expandedKeys = treeDataList
.map(item => {
if (item.title.indexOf(value) > -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment