From 56c8021dcbfc13a24ad13c783bb5fb23a9afd318 Mon Sep 17 00:00:00 2001
From: zjh <2207896513@qq.com>
Date: 星期四, 22 五月 2025 13:53:56 +0800
Subject: [PATCH] 图片查看文件上传

---
 pages/QC/LLJ/ImageItem.vue |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/pages/QC/LLJ/ImageItem.vue b/pages/QC/LLJ/ImageItem.vue
index 48e6605..abd13bb 100644
--- a/pages/QC/LLJ/ImageItem.vue
+++ b/pages/QC/LLJ/ImageItem.vue
@@ -148,6 +148,19 @@
       //   loop: false, // 鏄惁寮�鍚浘鐗囪疆鎾紝榛樿涓� false
       //   indicator: 'default',// 鍥剧墖鎸囩ず鍣ㄧ被鍨嬶紝鍙�夊�间负 "default"銆�"number"銆�"pointer"锛岄粯璁や负 "default"
       // });
+	  
+	  let imagesArry = [];
+	  console.log(index);
+	  base64ToPath(this.qsImage.map(s=>s.img)[index]).then(path => {
+	  				uni.hideLoading();
+	  				 imagesArry[index] = path
+	  				console.log(path);
+	  				uni.previewImage({
+	  					current: index,
+	  					urls: imagesArry
+	  				})
+	  			})
+	  
     },
     init() {
       this.$post({

--
Gitblit v1.9.3