Tencent / tdesign-vue-next

A Vue3.x UI components lib for TDesign.
https://tdesign.tencent.com/vue-next
MIT License
1.35k stars 445 forks source link

Cascader 级联选择器 #4332

Open wuhongru222 opened 1 week ago

wuhongru222 commented 1 week ago

这个功能解决了什么问题

在多选的情况下,当我需要保证顺序的时候 我选择1,3,2 会被自动排序成为1,2,3

你建议的方案是什么

希望出一个属性 不自动排序 保证顺序 我选择1,3,2就得到1,3,2而不是1,2,3

github-actions[bot] commented 1 week ago

👋 @wuhongru222,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

wuhongru222 commented 1 week ago

希望出一个属性 :automatic-sorting=false 不自动排序 默认自动排序

wuhongru222 commented 1 week ago

实现方法可参考https://element-plus.org/zh-CN/component/cascader.html 联机选择器 vue2版本的时候也是自动排序 但是vue3的时候 饿了么解决了这个问题