From 0293d4f776f88ebc307a750f38a16454f4553701 Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期二, 19 八月 2025 21:01:35 +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