Commit fe0e16d5 authored by shanqiyun's avatar shanqiyun

冲突

parents 0f641961 4fb030cc
......@@ -66,8 +66,8 @@ class PointLeftTree extends Component {
this.setState({ pointType: value });
this.props.pointTypeChange(value);
}
onSearchChange =(e,value) => {
const { treeDataList,treeData } = this.props;
onSearchChange = (e,value) => {
const { treeDataList,treeData } = this.state;
const expandedKeys = treeDataList
.map(item => {
if (item.title.indexOf(value) > -1) {
......@@ -179,8 +179,7 @@ class PointLeftTree extends Component {
}
render() {
const { treeData,pointTypeArr } = this.props;
const pointType = pointTypeArr[0] ? pointTypeArr[0].code : '';
let { treeData,pointTypeArr,pointType } = this.state;
return (
<div className="leftTree">
<div className='leftContainer'>
......
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