From f5f951e0273c6dbd96861845a05467b08eeb5cb2 Mon Sep 17 00:00:00 2001 From: ronger Date: Mon, 15 Mar 2021 21:03:47 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=9B=B4=E6=96=B0=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=90=8E=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98=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 | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/article/post/_article_id.vue b/pages/article/post/_article_id.vue index b027a39..9af21bf 100644 --- a/pages/article/post/_article_id.vue +++ b/pages/article/post/_article_id.vue @@ -269,6 +269,7 @@ localStorage.removeItem('article-title'); localStorage.removeItem('article-tags'); _ts.contentEditor.setValue(''); + _ts.$store.commit('article/clearDetailData') _ts.$router.push({ path: `/article/${res.id}` })