diff --git a/src/components/main/main.vue b/src/components/main/main.vue index 710a52bb1..a4ffc5bec 100644 --- a/src/components/main/main.vue +++ b/src/components/main/main.vue @@ -121,7 +121,12 @@ export default { query = route.query } if (name.indexOf('isTurnByHref_') > -1) { - window.open(name.split('_')[1]) + if (name.match(/:\/\//)) { + window.open(name.split('_')[1]) + } else { + const location = this.$router.resolve({ path: name.split('_')[1] }) + window.open(location.href) + } return } this.$router.push({