/* * @Author: lusx * @Date: 2020-03-03 09:17:39 * @Last Modified by: lusx * @Last Modified time: 2020-04-24 16:50:30 */ import React from "react"; import { Input, Menu } from "antd"; import { withRouter } from 'react-router'; import { WeaLocaleProvider } from 'ecCom'; const getLabel = WeaLocaleProvider.getLabel; @withRouter export default class Content extends React.Component { static defaultProps = { //React.PureComponent prefixCls: 'prj-select', hasSearch: true, hasAll: true, notFoundContent: "无匹配项", goText: "查看所有项目" }; constructor() { super(); this.state = { value: '' } } componentWillUnmount() { this.setState({ value: '' }) } render() { const { options, prefixCls, hasSearch , hasAll , _inputChangeFun, onChange, notFoundContent, goText, _clearFun, selectedKey } = this.props; // console.log("options--",options) const { value } = this.state; return (