this.media
внутри функции uploadProgress()
? Буду очень благодарен за подсказку.this.media = {
loaded: null,
total: null
};
this.$http.post('/api/media/upload', formData, {
uploadProgress(e) {
this.media.loaded = e.loaded;
this.media.total = e.total;
},
})