From db30ce67a0c9ffa557a92873e0326d9a3cae5418 Mon Sep 17 00:00:00 2001 From: OrangeM21 Date: Thu, 18 Jun 2020 11:16:13 +0800 Subject: [PATCH] =?UTF-8?q?[hotfix]=E6=9B=B4=E6=94=B9=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E6=9D=83=E9=99=90=E9=AA=8C=E8=AF=81=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index c698b84f2..0118b4732 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -116,7 +116,7 @@ const actions = { console.log(rootState) let accessedRoutes = filterAsyncRoutes(allRoleRoutes, roles) accessedRoutes = filterCmdRoutes(accessedRoutes, rootState.settings.publicSettings.SECURITY_COMMAND_EXECUTION) - accessedRoutes = filterLicRoutes(accessedRoutes, rootState.settings.publicSettings.XPACK_ENABLED) + accessedRoutes = filterLicRoutes(accessedRoutes, rootState.settings.publicSettings.XPACK_LICENSE_IS_VALID) commit('SET_ROUTES', accessedRoutes) resolve(accessedRoutes) })