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