From 27df99791582b8a7a8cf1d35ec8a40ec2406ca33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Sun, 12 May 2019 14:01:04 +0800 Subject: [PATCH] fix[redirect]: fix redirect bug in vue-devtools (#2066) --- 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