修改切換頁面錯誤
This commit is contained in:
parent
55efb1ffc0
commit
0ad9093d5b
@ -208,7 +208,6 @@
|
|||||||
hisFirst = true;
|
hisFirst = true;
|
||||||
var device_list = [];
|
var device_list = [];
|
||||||
$(function () {
|
$(function () {
|
||||||
console.log();
|
|
||||||
flatpickr(".selectDate", {
|
flatpickr(".selectDate", {
|
||||||
locale: "zh_tw",
|
locale: "zh_tw",
|
||||||
dateFormat: "Y-m-d",
|
dateFormat: "Y-m-d",
|
||||||
@ -273,10 +272,8 @@
|
|||||||
$("[name=subRadio]:checked").parent().removeClass("btn-secondary");
|
$("[name=subRadio]:checked").parent().removeClass("btn-secondary");
|
||||||
$("[name=subRadio]:checked").parent().addClass("btn-info");
|
$("[name=subRadio]:checked").parent().addClass("btn-info");
|
||||||
subTag = subRadios.val(); //sub tag
|
subTag = subRadios.val(); //sub tag
|
||||||
if (pageAct.selectedSub !== subTag) {
|
pageAct.selectedSub = subTag;
|
||||||
pageAct.selectedSub = subTag;
|
|
||||||
await getSidebar(subTag);
|
await getSidebar(subTag);
|
||||||
}
|
|
||||||
|
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user