🐛 更新文章后文章详情异常问题修复

This commit is contained in:
ronger 2021-03-15 21:03:47 +08:00
parent cf8a58efc2
commit f5f951e027

View File

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