Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Select] Options异步赋值时显示异常 #1681

Closed
huangpiqiao opened this issue Oct 25, 2022 · 3 comments · Fixed by #1682
Closed

[Select] Options异步赋值时显示异常 #1681

huangpiqiao opened this issue Oct 25, 2022 · 3 comments · Fixed by #1682
Assignees
Labels
to be published fixed, not be published

Comments

@huangpiqiao
Copy link
Contributor

huangpiqiao commented Oct 25, 2022

tdesign-vue 版本

0.49.0

重现链接

https://codesandbox.io/s/tdesign-vue-demo-forked-2052o6?file=/src/demo.vue

重现步骤

查看重现链接即可
image

期望结果

正确展示已选择的label

实际结果

显示的是已选择的value

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 25, 2022

♥️ 有劳 @geff1991 @skytt @uyarn 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @huangpiqiao

@skytt
Copy link
Contributor

skytt commented Oct 25, 2022

收到,这个场景优化一下

暂时可以通过「将赋值 value 参数的逻辑挪到异步函数内」来临时解决

@uyarn uyarn added the to be published fixed, not be published label Oct 26, 2022
@uyarn uyarn reopened this Oct 26, 2022
@uyarn uyarn closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
3 participants