From ad991e248a452a8913bc9e4a0af18c3f90a2606f Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: 星期三, 26 六月 2024 11:34:40 +0800 Subject: [PATCH] feat: 路由name重复检查 --- src/layout/components/Settings/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue index 89b1f4c..3082beb 100644 --- a/src/layout/components/Settings/index.vue +++ b/src/layout/components/Settings/index.vue @@ -126,7 +126,7 @@ const topNavChange = (val: any) => { if (!val) { appStore.toggleSideBarHide(false); - permissionStore.setSidebarRouters(permissionStore.defaultRoutes); + permissionStore.setSidebarRouters(permissionStore.defaultRoutes as any); } }; -- Gitblit v1.9.3