This commit is contained in:
2022-12-09 16:41:41 +08:00
parent c1cce5a7c2
commit ff7aa8774f
2003 changed files with 156639 additions and 140 deletions

View File

@@ -2307,6 +2307,7 @@ const _sfc_main = defineComponent({
},
emits: [
"choose",
"chooseAfter",
"before",
"done",
"error",
@@ -2453,9 +2454,8 @@ const _sfc_main = defineComponent({
emit("error", Object.assign({ currentTimeStamp, msg: errorMsg }));
};
const localUpload = (option, callback) => {
let xhr, url;
xhr = new XMLHttpRequest();
url = option.url;
let xhr = new XMLHttpRequest();
let url = option.url;
let formData = option.formData;
const cb = callback;
xhr.onreadystatechange = function() {