From 2d43a1df3f5ba42710e6d21c27d1e13bdb8dfd56 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 24 三月 2025 09:23:08 +0800 Subject: [PATCH] - --- src/components/tem/tem-upload-file.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/tem/tem-upload-file.vue b/src/components/tem/tem-upload-file.vue index a664bd7..2ae0b56 100644 --- a/src/components/tem/tem-upload-file.vue +++ b/src/components/tem/tem-upload-file.vue @@ -33,7 +33,7 @@ :style="{width:width+'rpx',borderRadius:radius+'rpx',borderColor:borderColor,borderStyle:borderSytle}" v-if="showAdd" @tap.stop="chooseImage"> <slot> - <u-button type="primary" text="涓婁紶" size="small"></u-button> + <u-button type="primary" :text="btnText" size="small"></u-button> <!-- <fui-icon name="plus" :size="addSize" :color="addColor"></fui-icon> --> </slot> </view> @@ -58,13 +58,17 @@ // fuiIcon // }, props: { + btnText: { + type: String, + default: '涓婁紶' + }, width: { type: [Number, String], - default: 200 + default: 190 }, height: { type: [Number, String], - default: 200 + default: 190 }, fileList: { type: Array, -- Gitblit v1.9.1