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 be7e263 commit 13001c1Copy full SHA for 13001c1
ruoyi-fastapi-frontend/src/components/TopNav/index.vue
@@ -96,9 +96,8 @@ export default {
96
let activePath = path;
97
if (path !== undefined && path.lastIndexOf("/") > 0 && hideList.indexOf(path) === -1) {
98
const tmpPath = path.substring(1, path.length);
99
- activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/"));
100
if (!this.$route.meta.link) {
101
- this.$store.dispatch('app/toggleSideBarHide', false);
+ activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/"));
102
}
103
} else if(!this.$route.children) {
104
activePath = path;
0 commit comments