From 3393757b8c3312e45c38ac95e011669ec4ad8285 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 28 二月 2025 19:45:03 +0800
Subject: [PATCH] 文件上传组件新增类型
---
src/components/FileUpload/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 4e294ac..2ad850b 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -47,17 +47,17 @@
// 鏁伴噺闄愬埗
limit: {
type: Number,
- default: 5,
+ default: 5
},
// 澶у皬闄愬埗(MB)
fileSize: {
type: Number,
- default: 5,
+ default: 5
},
// 鏂囦欢绫诲瀷, 渚嬪['png', 'jpg', 'jpeg']
fileType: {
type: Array,
- default: () => ["doc", "xls", "ppt", "txt", "pdf"],
+ default: () => ["doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "pdf"]
},
// 鏄惁鏄剧ず鎻愮ず
isShowTip: {
--
Gitblit v1.9.3