0
点赞
收藏
分享

微信扫一扫

uniapp 预览图片

夹胡碰 2023-12-20 阅读 37

 

preImg(index){
	let urls = []
   this.images.map((item,i) => {
			if(index==i){
				urls.unshift(item.file_path)
			}else{
			 urls.push(item.file_path)
			 }
		  })
	uni.previewImage({
		urls
		})
	}
举报

相关推荐

0 条评论