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

[tree-select] tree-select选择节点后,第二次点击选择同一个节点清空了已选 #617

Closed
LoopZhou opened this issue Mar 22, 2022 · 3 comments · Fixed by #653

Comments

@LoopZhou
Copy link
Collaborator

tdesign-vue 版本

0.38.0-alpha1

重现链接

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

重现步骤

tree-select选择节点后,第二次点击选择同一个节点清空了已选:

  1. 选中广东省
  2. 目前select框中显示广东省
  3. 选择广东省
  4. select框中清空了已选

期望结果

期望在第二次点击选择同一个节点,不会清空了已选

实际结果

第二次点击选择同一个节点清空了已选

框架版本

Vue(2.6.0)

浏览器版本

Chrome(99.0.4844.51)

系统版本

MacOS(10.15.7)

Node版本

12.22.0

补充说明

No response

@github-actions
Copy link
Contributor

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

@YikaJ
Copy link
Contributor

YikaJ commented Mar 28, 2022

该 Issue 提到的就是, TreeSelect 组件与我们常见的 Select 组件的交互行为不符

uyarn pushed a commit that referenced this issue Mar 29, 2022
* fix(treeselect): click twice will disapear select value

fix #617

* fix(treeselect): treeSelect objectValue
@xiaosansiji
Copy link
Collaborator

已在 0.39.1 版本中修复

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.

3 participants