src/views/manageCenter/index.vue
@@ -763,15 +763,13 @@ const val = userInfo.permissions.find((item) => { return item == route.permission }) // 修改为全部在新标签页打开 if (val) { if (route.path === "/search" || route.path === "/dataView") { const { href } = this.$router.resolve({ path: route.path }) window.open(href, "_blank") return } this.$router.push(route.path) const { href } = this.$router.resolve({ path: route.path }) window.open(href, "_blank") } else if (!userInfo.parentId) { this.$router.push(route.openPath) }