arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

feat(transfer): 提供右侧目标选择框的自定义排序功能 (#3411)

Open Linxiaoxxx opened this issue 7 months ago • 1 comments
trafficstars

Types of changes

  • [x] New feature
  • [ ] Bug fix
  • [ ] Enhancement
  • [ ] Component style change
  • [ ] Typescript definition change
  • [x] Documentation change
  • [ ] Coding style change
  • [ ] Refactoring
  • [ ] Test cases
  • [ ] Continuous integration
  • [ ] Breaking change
  • [ ] Others

Background and context

解决 #3411 提出的新功能

Solution

添加 target-order 属性,支持 original push unshift 和自定义排序的方式修改右侧目标框的排序

How is the change tested?

https://github.com/user-attachments/assets/4475ff14-3244-41c6-8712-34ec9caa4690

人工完成测试,并确保不会影响原有属性

Changelog

Component Changelog(CN) Changelog(EN) Related issues
Transfer 新增target-order 属性 Add 'target-order' attribute #3411

Checklist:

  • [x] Test suite passes (npm run test)
  • [x] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
  • [x] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others should be submitted to main branch)

Other information

Linxiaoxxx avatar Apr 02 '25 09:04 Linxiaoxxx

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

codesandbox[bot] avatar Apr 02 '25 09:04 codesandbox[bot]