From c3152a35ed1cd9364f92d183a9cb0aba620f5650 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期一, 06 六月 2022 17:21:29 +0800 Subject: [PATCH] 处理场景数量异常的情况 --- src/Pool/VideoPhotoData.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts index e86de54..e73e50d 100644 --- a/src/Pool/VideoPhotoData.ts +++ b/src/Pool/VideoPhotoData.ts @@ -287,7 +287,7 @@ // }); let taskNames = []; this.tasks = []; - rsp.data.forEach((d: any) => { + rsp.data.aggs.forEach((d: any) => { if (taskNames.indexOf(d.name) < 0) { taskNames.push(d.name); this.tasks.push(d) -- Gitblit v1.8.0