修复bug

pull/5/head
zhangqihang 2024-02-28 09:02:47 +08:00
parent e8e46bd741
commit 3b7499eb40
1 changed files with 10 additions and 0 deletions

View File

@ -806,6 +806,16 @@
current: e.currentTarget.dataset.index
});
},
ViewShowImages(imgs, index) {
let files = [];
for (var i = 0; i < imgs.length; i++) {
files.push(baseImgPath +imgs[i].FILEPATH)
}
uni.previewImage({
urls: files,
current: index
});
},
playVideo(e) {
this.videoSrc = e.currentTarget.dataset.src
this.modalShow = true