From 55f0be610b3adae8cc0d83e6d33ff71075f1b9de Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期六, 09 八月 2025 11:15:01 +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