From 94ada33570ee530dea1d7567671bbb804a75458e Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 13 十一月 2024 09:02:47 +0800
Subject: [PATCH] 1. 修复任务管理中,场景分类数量统计错误问题

---
 src/views/fysp/task/components/CompMonitorObjEdit.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/fysp/task/components/CompMonitorObjEdit.vue b/src/views/fysp/task/components/CompMonitorObjEdit.vue
index d6c616a..517f03b 100644
--- a/src/views/fysp/task/components/CompMonitorObjEdit.vue
+++ b/src/views/fysp/task/components/CompMonitorObjEdit.vue
@@ -247,7 +247,7 @@
       this.curMonitorObjList.forEach((e) => {
         const d = e.scene
         if (!map.has(d.type)) {
-          map.set(d.type, { num: 1 });
+          map.set(d.type, { num: 0 });
         }
         map.get(d.type).num++;
       });

--
Gitblit v1.9.3