trim spaces

This commit is contained in:
liangping 2022-08-31 19:57:58 +08:00
parent 25947adb43
commit 1676247d67

View File

@ -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