-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.6.4
Environment
chorme
Reproduction link
| const newItem = { ...item }; |
Steps to reproduce
table表单勾选数据后,进行了数据编辑,获取勾选数据selectedRows
What is expected?
期望应该selectedRows实时和源data-source保持一致
What is actually happening?
selectedRows数据副本会和修改后数据不一致
flatArray 使用了 const newItem = { ...item }导致了引用类型拷贝导致,应该修改为const newItem = item 保留地址引用