修改厨房判断条件

This commit is contained in:
dragon
2024-04-22 19:45:44 +08:00
parent b698efceff
commit 93f3576cec
2 changed files with 3 additions and 2 deletions

View File

@@ -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(() => {

View File

@@ -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');