[Feat] Refactor UI loader & Add freeze report override

This commit is contained in:
Minoricew
2025-06-10 00:28:53 +08:00
parent ed29f1b86f
commit a639ae0ac6
17 changed files with 861 additions and 167 deletions

View File

@@ -655,9 +655,15 @@ if (!global.__HUGO_AURA_UI_REACTIVES__.subConfig)
initBsTooltip();
GLOBAL_FUNCTIONS.updateOperationBtnStatus("Refresh", false);
GLOBAL_FUNCTIONS.refreshPlsStatus(true);
document.addEventListener("onPLSStatsUpdate", () => {
const eventListener = () => {
GLOBAL_FUNCTIONS.updateStatusContent();
});
};
document.addEventListener("onPLSStatsUpdate", eventListener);
global.__HUGO_AURA_GLOBAL__.utils.createOnLeaveEvtListener(
"onPLSStatsUpdate",
eventListener
);
};
onMounted();