Upload: fix thumbnailed upload slow bug (#1644)

pull/1652/head
杨奕 2016-12-09 12:10:57 +08:00 committed by cinwell.li
parent 9ccb7b852f
commit b0633de8bf
1 changed files with 1 additions and 1 deletions

View File

@ -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,