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()