:bugs: 发布文章后 500 问题修复
This commit is contained in:
parent
59e1c3dbc9
commit
a3301e5936
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user