From 3c4f9acc849b5f21e7649d1dbe2b606b898ae260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Wed, 3 Jan 2024 09:17:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/defaultAttribute.ts | 1 + src/layouts/admin/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/table/defaultAttribute.ts b/src/components/table/defaultAttribute.ts index 0761d93..7f42ee0 100644 --- a/src/components/table/defaultAttribute.ts +++ b/src/components/table/defaultAttribute.ts @@ -8,4 +8,5 @@ export const defaultAttribute = { columnConfig: { resizable: true }, rowConfig: { isCurrent: true, isHover: true }, scrollX: { scrollToLeftOnChange: true }, + treeConfig: {} } \ No newline at end of file diff --git a/src/layouts/admin/index.vue b/src/layouts/admin/index.vue index 8ec1feb..37f24e3 100644 --- a/src/layouts/admin/index.vue +++ b/src/layouts/admin/index.vue @@ -203,7 +203,7 @@ const init = async () => { title: '权限管理', name: 'auth', path: 'auth', - icon: 'fa fa-group', + icon: 'fa-solid fa-layer-group', menu_type: null, url: '', component: '', @@ -257,7 +257,8 @@ const init = async () => { }) } handlerMenu(res.data) - handleAdminRoute([...arr, ...res.data]) + handleAdminRoute(arr) + // handleAdminRoute([...arr, ...res.data]) // 预跳转到上次路径 if (route.params.to) {