Neal-W
Results
1
comments of
Neal-W
> componentWIllUnmount中清理一下 在实际业务中我的页面一直存在的,是一个数据展示页,不会触发componentWIllUnmount这一步。 ``` net = () => { if (!this.aa) { this.aa = setInterval(() => { let a = this.state.time a += 1 this.setState({ time: a }) clearInterval(this.aa) this.aa...