From 3dddd4cabb32f7f93b8832d2c47d38fa62fa3777 Mon Sep 17 00:00:00 2001 From: hLinx <327159425@qq.com> Date: Tue, 28 Sep 2021 15:46:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=AC=E5=9C=B0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=8A=A5=E9=94=99=20#273?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/task-step/common/source-file/view/local.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/task-step/common/source-file/view/local.vue b/src/frontend/src/components/task-step/common/source-file/view/local.vue index da7e8b66b0..05cf0afd4e 100644 --- a/src/frontend/src/components/task-step/common/source-file/view/local.vue +++ b/src/frontend/src/components/task-step/common/source-file/view/local.vue @@ -159,7 +159,7 @@ const sameStack = []; const largeStack = []; - files.forEach((curFile) => { + Array.from(files).forEach((curFile) => { const { name, size } = curFile; // 重名检测 if (this.fileList.some(_ => _.fileLocationText === name)) {