@@ -112,6 +112,7 @@ function upload(option) {
option.error(xhr);
}
+ document.body.removeChild(input);
// 展示加载动画
@@ -127,7 +128,6 @@ function upload(option) {
xhr.send(formData);
- document.body.removeChild(input);
/**