Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8fba10d4d5 |
@@ -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()
|
||||
|
Reference in New Issue
Block a user