From 97af26e2ad64d7974367df80a900c1f680bd19c5 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 23 七月 2025 10:38:08 +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