Commit 3f91ed4dd6234af9e95818101e57a9d9dc211f12

Authored by li.fameng
1 parent 09a536fd

Fix on-form-change event trigger time

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/components/upload/upload.vue
@@ -289,8 +289,8 @@ @@ -289,8 +289,8 @@
289 _file.status = 'finished'; 289 _file.status = 'finished';
290 _file.response = res; 290 _file.response = res;
291 291
292 - this.dispatch('FormItem', 'on-form-change', _file);  
293 this.onSuccess(res, _file, this.fileList); 292 this.onSuccess(res, _file, this.fileList);
  293 + this.dispatch('FormItem', 'on-form-change', _file);
294 294
295 setTimeout(() => { 295 setTimeout(() => {
296 _file.showProgress = false; 296 _file.showProgress = false;
@@ -335,4 +335,4 @@ @@ -335,4 +335,4 @@
335 } 335 }
336 }, 336 },
337 }; 337 };
338 -</script>  
339 \ No newline at end of file 338 \ No newline at end of file
  339 +</script>