From a3301e59363c0378ca33c819f47629d6c8c9c24d Mon Sep 17 00:00:00 2001 From: ronger Date: Wed, 24 Feb 2021 09:23:08 +0800 Subject: [PATCH] =?UTF-8?q?:bugs:=20=E5=8F=91=E5=B8=83=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=90=8E=20500=20=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/article.js b/store/article.js index fdad900..498a261 100644 --- a/store/article.js +++ b/store/article.js @@ -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 }