# vxe tree expandAll：true当table数据更新后无法展开，只有第一次能展开才能生效的问题

> 添加reserve记录展开状态，并且设置row-id :tree-config="{children: 'children', expandAll: true, reserve: true}" row-id="name"

- 原文：https://www.l2qq.com/article/178
- 发布：2022-12-14T00:57:59Z
- 作者：l2qq

---

添加reserve记录展开状态，并且设置row-id
:tree-config="{children: 'children', expandAll: true, reserve: true}"
row-id="name"
