src/tabviews/subtable/index.jsx
@@ -473,6 +473,15 @@ return !is(fromJS(this.props), fromJS(nextProps)) || !is(fromJS(this.state), fromJS(nextState)) } /** * @description 组件销毁,清除state更新 */ componentWillUnmount () { this.setState = (state, callback) => { return } } render() { const { setting, searchlist, actions, columns, loadingview, viewlost } = this.state @@ -489,7 +498,7 @@ {actions && <SubAction ref="subButton" MenuID={this.props.MenuID} MenuID={this.props.SupMenuID} BID={this.props.BID} setting={setting} refreshdata={this.refreshbyaction}