From 000129d632a85d2756d5f0301699b7a424384735 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 14 Nov 2023 15:17:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E6=98=BE=E7=A4=BA=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=BA=E7=A9=BA=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1032426 --user=王孝刚 【接口自动化】全新空间和项目-接口场景-选择运行环境时,列表是空 https://www.tapd.cn/55049933/s/1436303 --- .../src/business/automation/scenario/EditApiScenario.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue index a973ede90d..2fa8ab752e 100644 --- a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue +++ b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue @@ -2060,10 +2060,10 @@ export default { } this.projectIds.add(this.projectId); if (this.projectIds.size > 1) { - let projects = []; + let projects = new Set(); this.projectIds.forEach((item) => { if (this.projectList.filter((project) => project.id === item).length > 0) { - projects.push(item); + projects.add(item); } }); this.projectIds = projects;