feat: 组件 transfer 新增 targetOrder 属性,设置右侧列表元素的排序策略,不设置保持原有功能,添加到顶部,可设置… #7616
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…为push,新添加项则在最后
当前:从左侧添加到右侧,新添加元素在顶部,缺点比较单一,弱需要添加到底部,则不支持;
修改后:增加
targetOrder
属性,定义 右侧列表元素的排序策略;issues:#2626 有提到类似问题,但一直没解决,本次解决此issues;