From 1676247d67363649f050c299b7fa976c0526bc2e Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 31 Aug 2022 19:57:58 +0800 Subject: [PATCH] trim spaces --- src/@core/layouts/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@core/layouts/utils.js b/src/@core/layouts/utils.js index 10728fda..b1034eb3 100644 --- a/src/@core/layouts/utils.js +++ b/src/@core/layouts/utils.js @@ -60,7 +60,7 @@ export const isNavLinkActive = link => { if (chainCompare) { localStorage.setItem('selected_chain', link.route.params.chain) } - + return matchedRoutes.some(route => { const actived = (route.name === resolveRoutedName && chainCompare) || route.meta.navActiveLink === resolveRoutedName return actived