Fixed #7180 - FileUpload shouldn't post to url if none is provided
parent
0158f03002
commit
41bbf66544
|
@ -222,6 +222,7 @@ export default {
|
|||
}
|
||||
};
|
||||
|
||||
if (this.url) {
|
||||
xhr.open('POST', this.url, true);
|
||||
|
||||
this.$emit('before-send', {
|
||||
|
@ -233,6 +234,7 @@ export default {
|
|||
|
||||
xhr.send(formData);
|
||||
}
|
||||
}
|
||||
},
|
||||
clear() {
|
||||
this.files = [];
|
||||
|
|
Loading…
Reference in New Issue