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}` }) } })