From e27ae2260e1b6a56e128e0177ee4dfca16c2db0d Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 30 三月 2022 10:34:54 +0800 Subject: [PATCH] update registry source --- src/store/modules/permission.js | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index ce2314a..1b58c6f 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -24,12 +24,7 @@ state.defaultRoutes = constantRoutes.concat(routes) }, SET_TOPBAR_ROUTES: (state, routes) => { - // 椤堕儴瀵艰埅鑿滃崟榛樿娣诲姞缁熻鎶ヨ〃鏍忔寚鍚戦椤� - const index = [{ - path: 'index', - meta: { title: '缁熻鎶ヨ〃', icon: 'dashboard' } - }] - state.topbarRouters = routes.concat(index); + state.topbarRouters = routes }, SET_SIDEBAR_ROUTERS: (state, routes) => { state.sidebarRouters = routes -- Gitblit v1.9.3