src/templates/sharecomponent/chartgroupcomponent/index.jsx
@@ -228,6 +228,10 @@ this.props.updatechartgroup(config, id) } shouldComponentUpdate (nextProps, nextState) { return !is(fromJS(this.props), fromJS(nextProps)) || !is(fromJS(this.state), fromJS(nextState)) } /** * @description 组件销毁,清除state更新 */