ant-design-vue
ant-design-vue copied to clipboard
The oneWay mode of the Transfer shuttle box in the official document, click the delete icon on the right, there is a bug, and many data will be removed
trafficstars
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.12
Environment
vue3
Reproduction link
https://www.antdv.com/components/transfer-cn#components-transfer-demo-oneway
Steps to reproduce
###官方文档中的组件示例可以直接复现: 1.通过 oneWay 将 Transfer 转为单向样式(https://www.antdv.com/components/transfer-cn#components-transfer-demo-oneway) 2.随便将数据移入右侧几项,如content2、3、5、6 3.(重点)再将content20从左侧移入到右侧 4.(复现)从右侧删除content20,会移除content20的以外其他数据,右侧数据由5项变成3项。
What is expected?
修复BUG
What is actually happening?
移除数据时的key错误,导致无法使用