From 0905e26c6f64a4d9ba017118dd9a2055bd488066 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 28 Sep 2022 20:18:08 +0800 Subject: [PATCH] =?UTF-8?q?fix=20poms=E7=BB=93=E6=9E=84=E7=89=A9=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/utils/dataRange.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/app/lib/utils/dataRange.js b/api/app/lib/utils/dataRange.js index ddaf991..ec055cf 100644 --- a/api/app/lib/utils/dataRange.js +++ b/api/app/lib/utils/dataRange.js @@ -77,7 +77,8 @@ module.exports = function (app, opts) { // 获取不重复的 安心云项目 id const anxinProjectIds = [ ...( - bindRes.filter(b => pepProjectRes.some(pp => pp.id == b.pepProjectId)) + // bindRes.filter(b => pepProjectRes.some(pp => pp.id == b.pepProjectId)) + bindRes ).reduce( (arr, b) => { for (let sid of b.anxinProjectId) {