我收到一个'this' is undefined错误,因为它与componentDidUpdate函数中的this.updateColumnShow(field);相关,但我不确定原因。我在componentDidUpdate中调用了一个单独的函数(this.setColumns),它工作得很好。这个有什么不同?this.props.actions.getQueryPreview(this.props.query);
this.props.actions.getQueryRecordCount(this.props.que
componentDidUpdate() { clearInterval(this.intervalDurationThis can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate