修bug
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user