Skip to content

Commit

Permalink
v1.2.3:修复文件上传成功后 不能正确清除文件状态bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hold-baby committed Oct 18, 2018
1 parent d8c7cf4 commit 5f4e6ef
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ XhrFile.prototype.clearUploadFile = function () {
if (this.fileItem.isUploadClear) {
// this.dom.outerHTML = this.dom.outerHTML;
this.dom.value = "";
this.dom.files[0] = null;
this.dom.files = null;
}
};

Expand Down
6 changes: 3 additions & 3 deletions dist/ajax.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5f4e6ef

Please sign in to comment.