🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
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> ) } ```