[Frontend] 上方選單圖資管理 name 屬性調整 | 圖資管理 點擊事件移除

This commit is contained in:
dev01 2022-11-22 13:44:49 +08:00
parent 8875206511
commit 6c27f98138

View File

@ -1418,7 +1418,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
</a>
</div>
<div class="btn-group mx-4">
<a href="javascript:;" name="topGraphBtn" class="no-arrow text-center"
<a href="javascript:;" name="topFunBtn" class="no-arrow text-center"
data-page="graphManagement">
<i class="fal fa-image fa-2x"></i><br>圖資管理
</a>
@ -2633,19 +2633,6 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
})
// 圖資管理
onEvent("click", "[name=topGraphBtn]", function () {
let page = $(this).data("page");
$("#app").load(`_${page}.html`, loadCallback);
})
onEvent("click", "[name=topFunBtn]", function () {
let page = $(this).data("page");
if (page != "systemMonitor") {
$("#sysMonBtnList .dropdown-item").removeClass("active");
pageAct.sysMainTag = null;
}
}
</script>