src/templates/sharecomponent/chartgroupcomponent/index.jsx
@@ -190,6 +190,14 @@ this.props.updatechartgroup(config, id) } /** * @description 组件销毁,清除state更新 */ componentWillUnmount () { this.setState = () => { return } } render() { const { config } = this.props @@ -208,7 +216,7 @@ handleMenu={this.handleChart} deleteMenu={this.deletechart} /> : null} {/* 合并列编辑 */} {/* 图表信息编辑 */} <Modal title={modaltype === 'addChart' ? '图表-添加' : '图标-编辑'} visible={modaltype === 'addChart' || modaltype === 'editChart'}