Commit 9ce1b539e0c62ecb13e45cf8a837718abcdf9d11

Authored by 梁灏
1 parent ddef2bb3

Form support Upload component

Form support Upload component
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/upload/upload.vue
@@ -276,6 +276,7 @@ @@ -276,6 +276,7 @@
276 _file.status = 'finished'; 276 _file.status = 'finished';
277 _file.response = res; 277 _file.response = res;
278 278
  279 + this.$dispatch('on-form-change', _file);
279 this.onSuccess(res, _file, this.fileList); 280 this.onSuccess(res, _file, this.fileList);
280 281
281 setTimeout(() => { 282 setTimeout(() => {