[Frontend] 上方選單圖資管理 name 屬性調整 | 圖資管理 點擊事件移除
This commit is contained in:
parent
8875206511
commit
6c27f98138
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user