diff --git a/web/src/view/layout/aside/index.vue b/web/src/view/layout/aside/index.vue index f427050b..cd53e431 100644 --- a/web/src/view/layout/aside/index.vue +++ b/web/src/view/layout/aside/index.vue @@ -46,7 +46,11 @@ export default { } }); 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: {