From 35350255471896c9cd4d02e11665635012b82199 Mon Sep 17 00:00:00 2001 From: x ronger Date: Sat, 1 Aug 2020 00:43:00 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=B8=AA=E4=BA=BA=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E6=A8=A1=E5=9D=97=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/article/_article_id.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pages/article/_article_id.vue b/pages/article/_article_id.vue index c78641d..458fe9a 100644 --- a/pages/article/_article_id.vue +++ b/pages/article/_article_id.vue @@ -182,10 +182,7 @@ onRouter(name, data) { this.$router.push( { - name: name, - params: { - id: data - } + path: `/${name}/${data}` } ) },