Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
900 views
in Technique[技术] by (71.8m points)

antd 的Transfer 穿梭框组件使用求助

demo

需求:

自定义穿梭流程,点选左侧的项目时,选中对应项并直接在右侧列表显示;点击右侧列表中的项目,直接从右侧移除、同时取消左侧的选中状态。

难点:

  1. 官网demo中,右侧展示的同时,左侧都被disabled了,这里需要改成选中;
  2. 平常使用时,选中左侧必须点击穿梭框中间的按钮才会进行穿梭操作,这里的需求时在onSelectChange的时候。

测试链接:demo


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...