|
@ -46,7 +46,11 @@ export default { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
if (index === this.$route.name) return; |
|
|
if (index === this.$route.name) return; |
|
|
this.$router.push({ name: index, query, params }); |
|
|
|
|
|
|
|
|
if (index.indexOf("http://") > -1 || index.indexOf("https://") > -1) { |
|
|
|
|
|
window.open(index); |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$router.push({ name: index, query, params }); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|