From 8c9eb7d6b6f494355f5de91191030800813e5d82 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 24 Dec 2020 19:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E9=9D=99=E6=80=81=E8=B7=AF=E7=94=B1=E4=B8=A2=E5=A4=B1=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/store/modules/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index e62eb2eb0..ab109fcc0 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -15,7 +15,7 @@ const permission = { state.routes = constantRoutes.concat(routes) }, SET_SIDEBAR_ROUTERS: (state, routers) => { - state.sidebarRouters = routers + state.sidebarRouters = constantRoutes.concat(routers) }, }, actions: {