react 强制再次render函数 this.forceUpdate() Sep 21, 2023 不需要定义,可以直接使用:(React.Component 类提供的方法之一) this.forceUpdate();