Merge pull request #5012 from feymanlee/2.0

Fix on-form-change event trigger time
This commit is contained in:
Aresn 2018-12-17 10:57:23 +08:00 committed by GitHub
commit 6fe9982fb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,8 +289,8 @@
_file.status = 'finished';
_file.response = res;
this.dispatch('FormItem', 'on-form-change', _file);
this.onSuccess(res, _file, this.fileList);
this.dispatch('FormItem', 'on-form-change', _file);
setTimeout(() => {
_file.showProgress = false;
@ -335,4 +335,4 @@
}
},
};
</script>
</script>