diff --git a/package.json b/package.json index e21c0c4..1d4f0bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bytetrade/ui", - "version": "0.1.20", + "version": "0.1.21", "private": false, "scripts": { "serve": "vue-cli-service serve", diff --git a/packages/uploader/src/index.vue b/packages/uploader/src/index.vue index ea8e76a..07078c6 100644 --- a/packages/uploader/src/index.vue +++ b/packages/uploader/src/index.vue @@ -6,7 +6,7 @@ class="quploader" ref="fileUpload" @change="selectChange($event)" - accept="image/*" + :accept="accept" type="file" :multiple="false" />