diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 4c83073ae7c389b3cfa9c36efe448e537a959871..4ef7f9d9dd499a0618c23e9aa3649b2d854f2e08 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -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">