src/templates/sharecomponent/tablecomponent/index.jsx
@@ -231,6 +231,15 @@ this.props.updatetable({...config, tables: _tables}, _fields) } /** * @description 组件销毁,清除state更新 */ componentWillUnmount () { this.setState = () => { return } } render() { const { containerId } = this.props const { dict, tables, selectedTables } = this.state