是
el-table
希望能够添加方法动态展开与折叠树形表格
Translation of this issue:
yes
El-table
Hope to add methods to expand and collapse tree table dynamically
Now, I can only use V-IF to force the refresh of subcomponents to dynamically expand and collapse the tree list.
How to use V-IF for that?
@moabtools
Define a reactive property, such as isExpanded.
Then force the table to render
this.isExpanded = false
this.$nextTick(() => this.isExpanded = true)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@moabtools
Define a reactive property, such as isExpanded.
Then force the table to render