From 1359640db733fd9a66f0be969a9d3bc9e951667e Mon Sep 17 00:00:00 2001 From: lockingreal <1191515088@qq.com> Date: Sun, 3 Apr 2022 11:29:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20upload=E8=A1=A5=E5=85=85disabled?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E7=8A=B6=E6=80=81,=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=89=AA=E8=A3=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/components/upload.md | 55 ++++++- package.json | 1 + src/component/empty/index.vue | 2 +- src/component/input/index.vue | 2 +- src/component/upload/cropper.min.css | 9 ++ src/component/upload/index.less | 16 +- src/component/upload/index.vue | 201 ++++++++++++++++++++---- 7 files changed, 251 insertions(+), 35 deletions(-) create mode 100644 src/component/upload/cropper.min.css diff --git a/example/docs/zh-CN/components/upload.md b/example/docs/zh-CN/components/upload.md index c7a973ce..966090fd 100644 --- a/example/docs/zh-CN/components/upload.md +++ b/example/docs/zh-CN/components/upload.md @@ -106,13 +106,13 @@ export default { ::: -::: title 自定义预览 +::: title 自定义预览/上传禁用 ::: -::: demo 使用 `lay-upload` 标签, 使用 `#preview` 自定义预览的UI交互 +::: demo 使用 `lay-upload` 标签, 使用 `#preview` 自定义预览的UI交互,使用 `disabled` 添加上传禁用