This commit is contained in:
yangsy
2025-09-26 12:03:59 +08:00
parent a2e7af2035
commit f7a1de33ea

View File

@@ -28,8 +28,8 @@ const { stationLayoutGridCols } = storeToRefs(layoutStore);
// 当设备查询或告警查询正在进行时,显示加载条
watch(
[lineDevicesFetching, lineAlarmCountsFetching],
(fetchingList) => {
if (fetchingList.some((pending) => pending)) {
([devicesFetching, alarmCountsFetching]) => {
if (devicesFetching || alarmCountsFetching) {
window.$loadingBar.start();
} else {
window.$loadingBar.finish();