From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试

---
 node_modules/@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/node_modules/@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue b/node_modules/@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue
index 2a29bc2..0ce5eb7 100644
--- a/node_modules/@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue
+++ b/node_modules/@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue
@@ -16,12 +16,9 @@
 				</view>
 			</view>
 		</view>
-		<view v-if="filesList.length < limit && !readonly" class="file-picker__box" :style="boxStyle">
+		<view v-if="filesList.length < limit" class="file-picker__box" :style="boxStyle">
 			<view class="file-picker__box-content is-add" :style="borderStyle" @click="choose">
-				<slot>
-					<view class="icon-add"></view>
-					<view class="icon-add rotate"></view>
-				</slot>
+				<slot></slot>
 			</view>
 		</view>
 	</view>
@@ -145,12 +142,15 @@
 				this.$emit("uploadFiles", item)
 			},
 			choose() {
+				if(this.readonly) return
 				this.$emit("choose")
 			},
 			delFile(index) {
+				if(this.readonly) return
 				this.$emit('delFile', index)
 			},
 			prviewImage(img, index) {
+				if(this.readonly) return
 				let urls = []
 				if(Number(this.limit) === 1&&this.disablePreview&&!this.disabled){
 					this.$emit("choose")
@@ -252,13 +252,6 @@
 		/* #endif */
 		align-items: center;
 		justify-content: center;
-	}
-
-	.icon-add {
-		width: 50px;
-		height: 5px;
-		background-color: #f1f1f1;
-		border-radius: 2px;
 	}
 
 	.rotate {

--
Gitblit v1.9.3