Skip to content

Commit

Permalink
Merge pull request #297 from kaola-fed/hotfix_klupload_20171121
Browse files Browse the repository at this point in the history
fix上传组件设置multiple时,url出现blob问题
  • Loading branch information
nupthale authored Nov 22, 2017
2 parents b48c225 + 4d1e532 commit 0b5b48c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ const UploadBase = Component.extend({
} else if (flag === Config.flagMap.DELETED) {
fileList[fileIndex].flag = Config.flagMap.DELETED;
fileUnitList.splice(index, 1);
} else if (flag === Config.flagMap.ADDED) {
fileList[fileIndex].url = file.url;
} else if (destroyed) {
fileList.splice(fileIndex, 1);
fileUnitList.splice(index, 1);
Expand Down

0 comments on commit 0b5b48c

Please sign in to comment.