-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.7.7
Environment
win10、谷歌92.0.4515.131(正式版本)、vue2.6.11
Reproduction link
Steps to reproduce
我把官网这个案例的树改成支持父节点选择之后子节点也能被选中(移除案例中的checkStrictly),但是通过父节点选择之后子节点无法取消选择了(其实已经被取消选中但是勾选状态没变)。
官方示例
https://www.antdv.com/components/transfer-cn/#components-transfer-demo-tree-transfer
步骤:
先勾选0-1,因为是联动的所以子节点也被选中了,然后取消勾选0-1-0(取消不掉),点击穿梭按钮,右侧的数据是对的(不包含0-1-0)
What is expected?
树的勾选效果正常
What is actually happening?
已经被取消选中但是勾选状态没变