Skip to content

Commit

Permalink
Merge pull request #1635 from hLinx/3.6.x
Browse files Browse the repository at this point in the history
bugfix: 导出作业时相关执行方案没选中 #1633
  • Loading branch information
hLinx authored Dec 20, 2022
2 parents 7becf77 + a08708a commit a2b71b2
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 a2b71b2

Please sign in to comment.