:bugs: 保存草稿后路径调整问题修复

This commit is contained in:
ronger 2020-08-28 11:36:56 +08:00
parent babf3b2472
commit 98f13bf6d9

View File

@ -304,10 +304,7 @@
localStorage.removeItem('article-tags'); localStorage.removeItem('article-tags');
_ts.contentEditor.setValue(''); _ts.contentEditor.setValue('');
_ts.$router.push({ _ts.$router.push({
name: 'draft', path: `/draft/${res.id}`
params: {
id: res.id
}
}) })
} }
}) })