From d7d4c671562c17e3d894609595016192cad2e52b Mon Sep 17 00:00:00 2001 From: "YUN-PC5\\user" Date: Fri, 8 Dec 2023 10:52:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3vxe-table=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=90=8E?= =?UTF-8?q?=E6=8A=98=E5=8F=A0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/menu/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 4c83073..4ef7f9d 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"> -- Gitee