修改切換頁面錯誤

This commit is contained in:
JouChun 2024-05-05 22:48:15 -04:00
parent 55efb1ffc0
commit 0ad9093d5b

View File

@ -208,7 +208,6 @@
hisFirst = true;
var device_list = [];
$(function () {
console.log();
flatpickr(".selectDate", {
locale: "zh_tw",
dateFormat: "Y-m-d",
@ -273,10 +272,8 @@
$("[name=subRadio]:checked").parent().removeClass("btn-secondary");
$("[name=subRadio]:checked").parent().addClass("btn-info");
subTag = subRadios.val(); //sub tag
if (pageAct.selectedSub !== subTag) {
pageAct.selectedSub = subTag;
pageAct.selectedSub = subTag;
await getSidebar(subTag);
}
result = true;
}