From 146db91348c0de1cca2bc4125d1795d096c4c3f2 Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 12 May 2019 13:59:27 +0800 Subject: [PATCH] fix[redirect]: fix redirect bug in vue-devtool --- src/views/redirect/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/redirect/index.vue b/src/views/redirect/index.vue index bf56fbcd..64624c65 100644 --- a/src/views/redirect/index.vue +++ b/src/views/redirect/index.vue @@ -4,6 +4,7 @@ export default { const { params, query } = this.$route const { path } = params this.$router.replace({ path: '/' + path, query }) + return }, render: function(h) { return h() // avoid warning message