Skip to content

Commit 5f4e6ef

Browse files
committed
v1.2.3:修复文件上传成功后 不能正确清除文件状态bug
1 parent d8c7cf4 commit 5f4e6ef

File tree

7 files changed

+18
-9
lines changed

7 files changed

+18
-9
lines changed

dist/ajax.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ XhrFile.prototype.clearUploadFile = function () {
236236
if (this.fileItem.isUploadClear) {
237237
// this.dom.outerHTML = this.dom.outerHTML;
238238
this.dom.value = "";
239-
this.dom.files[0] = null;
239+
this.dom.files = null;
240240
}
241241
};
242242

dist/ajax.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)