Replies: 1 comment
-
你需要的应该可以通过加一行popupProps做到 设置一下popup的width |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
tdesign-vue 版本
0.40.2
重现链接
https://codesandbox.io/s/tdesign-vue-demo-forked-dl6vgi?file=/src/demo.vue
重现步骤
初始时options给空数组,设置onSearch动态获取(option文案超过select的宽度),此时option展示.....

初始时options给不为空数组,option文案超过select的宽度,此时option按最长文案宽度展示

期望结果
超过select宽度下拉的option展示保持统一(显示省略或者全部展示)
实际结果
option超过select宽度时展示不统一
框架版本
Vue(2.6.11)
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
我这边的场景是动态级联下拉,2号下拉的数据依赖1号下拉结果进行异步请求展示。
Beta Was this translation helpful? Give feedback.
All reactions