解决vxe-table菜单管理修改数据后折叠的问题

This commit is contained in:
YUN-PC5\user 2023-12-08 10:52:01 +08:00
parent c5869e3233
commit d7d4c67156

View File

@ -50,7 +50,13 @@
ref="listRef"
:loading="loading"
:column-config="{ resizable: true }"
:tree-config="{}"
:tree-config="{
parentField: 'parentId',
reserve: true
}"
:row-config="{
keyField: 'menuId'
}"
:scroll-y="{ enabled: true, gt: 20 }"
:data="menuList">
<vxe-column field="menuName" :title="$t('m.menuName')" tree-node width="160"> </vxe-column>