src/templates/sharecomponent/fieldscomponent/index.jsx
@@ -10,7 +10,6 @@ import './index.scss' // **悲观者往往正确,乐观者往往成功 class FieldsComponent extends Component { static propTpyes = { type: PropTypes.string, // 搜索条件添加、显示列添加 @@ -205,6 +204,14 @@ } } /** * @description 组件销毁,清除state更新 */ componentWillUnmount () { this.setState = () => { return } } render() { const { type } = this.props