import React from 'react';
import { WeaTop, WeaLeftTree } from 'ecCom';
import { toJS } from 'mobx';
import { observer } from 'mobx-react';
import { WeaLocaleProvider } from 'ecCom';
const getLabel = WeaLocaleProvider.getLabel;
@observer
export default class TreeList extends React.Component {
constructor(props) {
super(props);
this.state = {
searchValue: ""
}
}
componentWillReceiveProps(nextProps) {
if (this.props.key !== nextProps.key) {
this.setState({
searchValue: ""
})
}
}
render() {
const { store, title } = this.props;
return (