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>
}