From 46c86235c4fd69893d5b20155c18f38c33060fe4 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Sat, 27 May 2023 15:50:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/upload/components/upload.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/upload/components/upload.vue b/src/modules/upload/components/upload.vue index 1361d43..d81b108 100644 --- a/src/modules/upload/components/upload.vue +++ b/src/modules/upload/components/upload.vue @@ -57,7 +57,7 @@
- {{ text }} + {{ text }}
@@ -238,7 +238,7 @@ const limit = props.limit || options.limit.upload; const limitSize = props.limitSize || options.limit.size; // 文案 -const text = props.text || options.text; +const text = props.text === undefined ? options.text : props.text; // 请求头 const headers = computed(() => {