厨房:修改第三阶段判断条件
This commit is contained in:
@@ -132,6 +132,7 @@ const getNewestAct = () => {
|
|||||||
return showLoading('服務器正在維護中...')
|
return showLoading('服務器正在維護中...')
|
||||||
} else {
|
} else {
|
||||||
console.log(res.timestamp > res.data.endTime);
|
console.log(res.timestamp > res.data.endTime);
|
||||||
|
if (res.data.endTime == null) res.data.endTime = undefined
|
||||||
if (res.timestamp >= res.data.endTime) { //請求的還是上一輪的數據,重新請求
|
if (res.timestamp >= res.data.endTime) { //請求的還是上一輪的數據,重新請求
|
||||||
console.log('請求的還是上一輪的數據,必須重新請求');
|
console.log('請求的還是上一輪的數據,必須重新請求');
|
||||||
showLoading()
|
showLoading()
|
||||||
|
Reference in New Issue
Block a user