From 8ac4d8fd6b488de86778b906442025cfdb83ad89 Mon Sep 17 00:00:00 2001 From: hLinx <327159425@qq.com> Date: Tue, 20 Dec 2022 12:06:07 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E5=AF=BC=E5=87=BA=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E6=97=B6=E7=9B=B8=E5=85=B3=E6=89=A7=E8=A1=8C=E6=96=B9=E6=A1=88?= =?UTF-8?q?=E6=B2=A1=E9=80=89=E4=B8=AD=20#1633?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/task-manage/export/components/step2.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/views/task-manage/export/components/step2.vue b/src/frontend/src/views/task-manage/export/components/step2.vue index c5170dc66f..7c278547be 100644 --- a/src/frontend/src/views/task-manage/export/components/step2.vue +++ b/src/frontend/src/views/task-manage/export/components/step2.vue @@ -182,7 +182,7 @@ id: item.id, planSelectedMap: {}, planList: [], - exportAll: 0, + exportAll: 1, }; return result; }, {})); @@ -257,7 +257,7 @@ } else { currentTemplate.planSelectedMap[planId] = true; currentTemplate.exportAll - = Number(Object.keys(currentTemplate.planSelectedMap).length === currentTemplate.planList.length); + = Object.keys(currentTemplate.planSelectedMap).length === currentTemplate.planList.length ? 1 : 0; } this.templateInfoMap = Object.freeze(templateInfoMap); },