From 8fba10d4d502e5dd7bad60345e436b86029f3fc2 Mon Sep 17 00:00:00 2001 From: Dragon <13925835632@139.com> Date: Thu, 15 Jun 2023 14:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=A8=E6=88=BF=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=AC=AC=E4=B8=89=E9=98=B6=E6=AE=B5=E5=88=A4=E6=96=AD=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/peko/activity/act-ocean/js/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/view/peko/activity/act-ocean/js/index.js b/view/peko/activity/act-ocean/js/index.js index 5b767a6..ca0f510 100644 --- a/view/peko/activity/act-ocean/js/index.js +++ b/view/peko/activity/act-ocean/js/index.js @@ -132,6 +132,7 @@ const getNewestAct = () => { return showLoading('服務器正在維護中...') } else { console.log(res.timestamp > res.data.endTime); + if (res.data.endTime == null) res.data.endTime = undefined if (res.timestamp >= res.data.endTime) { //請求的還是上一輪的數據,重新請求 console.log('請求的還是上一輪的數據,必須重新請求'); showLoading()