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)) {