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

[TreeSelect] treeSelect异步加载的时候,选中后,input框显示的是value的值不是label的值 #537

Closed
LoopZhou opened this issue Mar 12, 2022 · 2 comments · Fixed by #556

Comments

@LoopZhou
Copy link
Collaborator

tdesign-vue 版本

0.36.0

重现链接

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

重现步骤

在示例中,

  1. 选择 一.1.1。
  2. 选中后, input框中显示的是1.1.1

期望结果

应该显示label值: 一.1.1

实际结果

实际显示了value值

框架版本

Vue(2.6.0)

浏览器版本

Chrome(99.0.4844.51)

系统版本

MacOS(10.15.7)

Node版本

12.2.2

补充说明

比较了一下版本。0.34.0版本是对的。0.35.0之后的版本就变成value了

@github-actions
Copy link
Contributor

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

@uyarn uyarn changed the title [TreeSelect] treeSelect异步加载的时候,选中后,input框显示的是value的值不是lable的值 [TreeSelect] treeSelect异步加载的时候,选中后,input框显示的是value的值不是label的值 Mar 15, 2022
@xiaosansiji
Copy link
Collaborator

已在 0.37.2 版本中修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants