ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
The above error occurred in the <Bight> component Warning: Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state. Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops. false ``` getv(i){ return ( <Skt onClick={this.handleClick()} value={this.state.value}></Skt> ) } ``` true ``` getv(i){ return ( <Skt onClick={()=>this.handleClick()} value={this.state.value}></Skt> ) } ```