init
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user