正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -96,8 +96,8 @@ export default { | @@ -96,8 +96,8 @@ export default { | ||
| 96 | let activePath = path; | 96 | let activePath = path; |
| 97 | if (path !== undefined && path.lastIndexOf("/") > 0 && hideList.indexOf(path) === -1) { | 97 | if (path !== undefined && path.lastIndexOf("/") > 0 && hideList.indexOf(path) === -1) { |
| 98 | const tmpPath = path.substring(1, path.length); | 98 | const tmpPath = path.substring(1, path.length); |
| 99 | - activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/")); | ||
| 100 | if (!this.$route.meta.link) { | 99 | if (!this.$route.meta.link) { |
| 100 | + activePath = "/" + tmpPath.substring(0, tmpPath.indexOf("/")); | ||
| 101 | this.$store.dispatch('app/toggleSideBarHide', false); | 101 | this.$store.dispatch('app/toggleSideBarHide', false); |
| 102 | } | 102 | } |
| 103 | } else if(!this.$route.children) { | 103 | } else if(!this.$route.children) { |
-
请 注册 或 登录 后发表评论