We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e5890b commit 492dd7bCopy full SHA for 492dd7b
ruoyi-fastapi-frontend/src/components/TopNav/index.vue
@@ -100,9 +100,9 @@ const activeMenu = computed(() => {
100
let activePath = path;
101
if (path !== undefined && path.lastIndexOf("/") > 0 && hideList.indexOf(path) === -1) {
102
const tmpPath = path.substring(1, path.length);
103
- activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/"));
104
if (!route.meta.link) {
105
- appStore.toggleSideBarHide(false);
+ activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/"));
+ appStore.toggleSideBarHide(false);
106
}
107
} else if(!route.children) {
108
activePath = path;
0 commit comments