From f974eb8b75ef13b3c76cf12d78685f13bda078b3 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 24 Sep 2022 14:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E8=AF=A6=E6=83=85=E8=81=9A?= =?UTF-8?q?=E9=9B=86?= 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 eeea418..ec580f1 100644 --- a/api/app/lib/utils/dataRange.js +++ b/api/app/lib/utils/dataRange.js @@ -85,7 +85,8 @@ module.exports = function (app, opts) { ).toPromise() : [] - return [...new Set(...undelStrucRes.map(s => s.strucId))] + const undelStrucIds = [...new Set(...undelStrucRes.map(s => s.strucId))] + return {} } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); }