修改厨房判断条件
This commit is contained in:
@@ -140,8 +140,9 @@ function getNewestAct() {
|
||||
if ($.isEmptyObject(res.data) || res.data.status === 4) {
|
||||
return showLoading(langReplace(localLang.demoModule.text14))
|
||||
} else {
|
||||
var endTimes = 0 == null ? undefined : res.data.endTime;
|
||||
var endTimes = res.data.endTime == null ? undefined : res.data.endTime;
|
||||
if (res.timestamp >= endTimes) { //請求的還是上一輪的數據,重新請求
|
||||
console.log(endTimes);
|
||||
console.log('請求的還是上一輪的數據,必須重新請求');
|
||||
showLoading()
|
||||
timer = setTimeout(() => {
|
||||
|
@@ -629,7 +629,7 @@ function langCodeFun(langCode) {
|
||||
body.style.display = 'none';
|
||||
setTimeout(function () {
|
||||
body.style.display = 'block';
|
||||
}, 300)
|
||||
}, 500)
|
||||
if (langCode == "ar") {
|
||||
document.documentElement.setAttribute("dir", "rtl");
|
||||
document.body.classList.add('arabic');
|
||||
|
Reference in New Issue
Block a user