From b0633de8bfda276f4800027faa1da71c4c157c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=95?= Date: Fri, 9 Dec 2016 12:10:57 +0800 Subject: [PATCH] Upload: fix thumbnailed upload slow bug (#1644) --- packages/upload/src/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/upload/src/index.vue b/packages/upload/src/index.vue index d82e9e962..5ed41767c 100644 --- a/packages/upload/src/index.vue +++ b/packages/upload/src/index.vue @@ -193,7 +193,7 @@ export default { headers: this.headers, name: this.name, data: this.data, - accept: this.thumbnailMode ? 'image/*' : this.accept, + accept: this.thumbnailMode ? 'image/gif, image/png, image/jpeg, image/bmp, image/webp' : this.accept, 'on-start': this.handleStart, 'on-progress': this.handleProgress, 'on-success': this.handleSuccess,