Skip to content

Commit

Permalink
Merge pull request #1634 from hLinx/3.5.x
Browse files Browse the repository at this point in the history
bugfix: 导出作业时相关执行方案没选中 #1633
  • Loading branch information
hLinx authored Dec 20, 2022
2 parents 8be149b + 8ac4d8f commit 6e81232
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
id: item.id,
planSelectedMap: {},
planList: [],
exportAll: 0,
exportAll: 1,
};
return result;
}, {}));
Expand Down Expand Up @@ -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);
},
Expand Down

0 comments on commit 6e81232

Please sign in to comment.