feat: implement the Status API on Settings page (#470)

This commit is contained in:
Fine0830
2025-05-30 12:53:22 +08:00
committed by GitHub
parent a28972bc5c
commit 7dcc67f455
38 changed files with 775 additions and 236 deletions

View File

@@ -87,7 +87,7 @@ limitations under the License. -->
alarmStore.alarms.length === pageSize ? pageSize * pageNum.value + 1 : pageSize * pageNum.value,
);
const maxRange = computed(() =>
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldValue : appStore.recordsTTL.value),
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldNormal : appStore.recordsTTL.normal),
);
refreshAlarms({ pageNum: 1 });