From 9ce1b539e0c62ecb13e45cf8a837718abcdf9d11 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Sun, 22 Jan 2017 15:02:06 +0800 Subject: [PATCH] Form support Upload component --- src/components/upload/upload.vue | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/components/upload/upload.vue b/src/components/upload/upload.vue index a0a0f9c..99aa80b 100644 --- a/src/components/upload/upload.vue +++ b/src/components/upload/upload.vue @@ -276,6 +276,7 @@ _file.status = 'finished'; _file.response = res; + this.$dispatch('on-form-change', _file); this.onSuccess(res, _file, this.fileList); setTimeout(() => { -- libgit2 0.21.4