From 98f13bf6d9c482c226133ba7df66a7037505f6ba Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 28 Aug 2020 11:36:56 +0800 Subject: [PATCH] =?UTF-8?q?:bugs:=20=E4=BF=9D=E5=AD=98=E8=8D=89=E7=A8=BF?= =?UTF-8?q?=E5=90=8E=E8=B7=AF=E5=BE=84=E8=B0=83=E6=95=B4=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/article/post/_article_id.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pages/article/post/_article_id.vue b/pages/article/post/_article_id.vue index 544b0c2..9e164cf 100644 --- a/pages/article/post/_article_id.vue +++ b/pages/article/post/_article_id.vue @@ -304,10 +304,7 @@ localStorage.removeItem('article-tags'); _ts.contentEditor.setValue(''); _ts.$router.push({ - name: 'draft', - params: { - id: res.id - } + path: `/draft/${res.id}` }) } })