|
@@ -157,8 +157,7 @@
|
|
|
<view class="thread2"></view>
|
|
|
<view class="thread2"></view>
|
|
|
|
|
|
- <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="imgs" :descs="descs"
|
|
|
- @longPress="longPress"></previewImage>
|
|
|
+ <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="imgs" :descs="descs"></previewImage>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -224,9 +223,8 @@
|
|
|
},
|
|
|
previewOpen(imgs1, index) {
|
|
|
this.imgs = imgs1.split("|");
|
|
|
- this.$nextTick(()=>{
|
|
|
- this.$refs.previewImage.open(index)
|
|
|
- }) // 传入当前选中的图片地址或序号
|
|
|
+ setTimeout(()=>this.$refs.previewImage.open(index),0)
|
|
|
+ // 传入当前选中的图片地址或序号
|
|
|
return; //如需测试和uni原生预览差别可注释这两行
|
|
|
},
|
|
|
loadWishData() {
|