Skip to content

Commit

Permalink
Merge pull request #274 from hLinx/hotfix_fileupload
Browse files Browse the repository at this point in the history
fix: 本地文件上传报错 #273
  • Loading branch information
hLinx authored Sep 28, 2021
2 parents 9f5d084 + 3dddd4c commit 47b0997
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 47b0997

Please sign in to comment.