arco-design-vue
arco-design-vue copied to clipboard
feat(transfer): 提供右侧目标选择框的自定义排序功能 (#3411)
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
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
featurebranch and others should be submitted tomainbranch)