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) {