:bugs: 发布文章后 500 问题修复

This commit is contained in:
ronger 2021-02-24 09:23:08 +08:00
parent 59e1c3dbc9
commit a3301e5936

View File

@ -111,7 +111,7 @@ export const actions = {
commit('updateDetailFetching', true)
// 当前文章判断
let currentData = JSON.parse(JSON.stringify(state)).detail.data
if (Number(params.article_id) === currentData.idArticle) {
if (Number(params.article_id) === currentData?.idArticle) {
commit('updateDetailFetching', false)
return
}