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

The tree function of the [Bug Report] table component hides the child nodes of the tree when new nodes are added, as shown in the figure. #14933

Closed
luoshu-open opened this issue Apr 2, 2019 · 6 comments
Assignees
Milestone

Comments

@luoshu-open
Copy link

Element UI version

2.7.0

OS/Browsers version

win10/chrome71

Vue version

2.6.10

Reproduction Link

https://user-images.githubusercontent.com/18377791/55374933-d2876c80-553c-11e9-866c-fc4304908286.gif

Steps to reproduce

创建一个table组件,使用树表格,使用element 2.7.0,在新增树节点时,已展开的树,会直接关闭掉。详情见下在的gif图
https://user-images.githubusercontent.com/18377791/55374933-d2876c80-553c-11e9-866c-fc4304908286.gif

What is Expected?

期待的行为:新增节点后,原来展开的树,依然展开,不需要合起来

What is actually happening?

实际行为:新增节点时,已展开的内容会关闭掉

@element-bot element-bot changed the title [Bug Report] table组件的树功能,新增节点后,会把树的子节点隐藏掉来,见图 The tree function of the [Bug Report] table component hides the child nodes of the tree when new nodes are added, as shown in the figure. Apr 2, 2019
@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.7.0

OS/Browsers version

Win10/chrome71

Vue version

2.6.10

Reproduction Link

https://user-images.githubusercontent.com/18377791/55374933-d2876c80-553c-11e9-866c-fc4304908286.gif

Steps to reproduce

Create a table component, use tree tables, use element 2.7.0, when adding tree nodes, the expanded tree will be closed directly. See the GIF chart below for details.

Https://user-images.githubusercontent.com/18377791/55374933-d2876c80-553c-11e9-866c-fc4304908286.gif

What is Expected?

Expected Behavior: When new nodes are added, the trees that were originally deployed are still deployed and do not need to be closed.

What is actually happening?

Actual behavior: When new nodes are added, expanded content is closed

@luoshu-open
Copy link
Author

a

@hytcwangkai
Copy link

知道怎么默认展开树嘛,大佬

hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
hejxing pushed a commit to hejxing/element that referenced this issue Apr 3, 2019
@iamkun iamkun added this to the 2.8.0 milestone Apr 8, 2019
@yifire
Copy link

yifire commented Apr 9, 2019

展开树的子节点,如何自定义操作的按钮?
Expand the child nodes of the tree, how to customize the button of the operation?

@ziyoung
Copy link
Contributor

ziyoung commented Apr 22, 2019

see #15170

@ziyoung
Copy link
Contributor

ziyoung commented May 8, 2019

2.9 会支持该功能。

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.

7 participants