欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Cannot update during an exitsting state transition

程序员文章站 2024-01-02 12:25:58
...

https://blog.csdn.net/junhuahouse/article/details/80623686

https://www.jianshu.com/p/28534cc5b757

 

{
   title: '操作',
   key: 'op',
   render: (text, record) => <Button type="danger" onClick={this._deleteMovie(record._id)}>删除</Button>
}

改为

{
    title: '操作',
    key: 'op',
    render: (text, record) => <Button type="danger" onClick={() => this._deleteMovie(record._id)}>删除</Button>
}

 

上一篇:

下一篇: