From 7728ac4bed321fde6788100a354965a0028a8327 Mon Sep 17 00:00:00 2001 From: icebergtsn Date: Wed, 28 Aug 2024 19:52:43 +0800 Subject: [PATCH] fix: update accept --- package.json | 2 +- packages/uploader/src/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" />