This commit is contained in:
2025-11-16 20:24:28 +08:00
parent 68c3208144
commit 25b04b2ec2

View File

@@ -367,6 +367,7 @@ export default {
// 调用API获取活跃且未忽略的告警数量 // 调用API获取活跃且未忽略的告警数量
const response = await getActiveAlarms({ const response = await getActiveAlarms({
is_ignored: false, is_ignored: false,
page: 1, // 确保分页参数完整
page_size: 1 // 只需获取总数所以page_size设为1 page_size: 1 // 只需获取总数所以page_size设为1
}); });
if (response && response.pagination) { if (response && response.pagination) {