|
@@ -78,7 +78,7 @@
|
|
|
<view v-for="(item,index) in fileArr" :key="index" style="position: relative;">
|
|
|
|
|
|
<view
|
|
|
- v-if="item.picUrl.substring(item.picUrl.length - 3) == 'png' || item.picUrl.substring(item.picUrl.length - 3) == 'jpg'||item.picUrl.substring(item.picUrl.length-3)=='jpeg' ">
|
|
|
+ v-if="item.picUrl.substring(item.picUrl.length - 3) == 'png' || item.picUrl.substring(item.picUrl.length - 3) == 'jpg'||item.picUrl.substring(item.picUrl.length-4)=='jpeg' ">
|
|
|
<image v-if="fileImageArr.concat(item.picUrl)" :src="item.picUrl" mode=""
|
|
|
style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
@click="showPhotoFile(fileImageArr.indexOf(item.picUrl))">
|
|
@@ -674,7 +674,7 @@
|
|
|
this.fileArr.forEach((list, index) => {
|
|
|
if (list.picUrl.substring(list.picUrl.length - 3) == 'png' || list.picUrl
|
|
|
.substring(list.picUrl.length - 3) == 'jpg' || list.picUrl.substring(list
|
|
|
- .picUrl.length - 3) == 'jpeg') {
|
|
|
+ .picUrl.length - 4) == 'jpeg') {
|
|
|
this.fileImageArr.push(list.picUrl)
|
|
|
}
|
|
|
|