|
|
@@ -64,6 +64,7 @@
|
|
|
:customId="item.customId"
|
|
|
:summaryId="item.summaryId"
|
|
|
:allowWriteAgain="item.allowWriteAgain"
|
|
|
+ :item="item"
|
|
|
@click="imgClick(item, index)"></upload-img>
|
|
|
</van-row>
|
|
|
</div>
|
|
|
@@ -416,16 +417,8 @@ export default {
|
|
|
this.indeximg = index;
|
|
|
this.show = true;
|
|
|
},
|
|
|
- newimgarr1(val) {
|
|
|
- if (
|
|
|
- this.collectionItemList[val.index].fileInfoList == null ||
|
|
|
- this.collectionItemList[val.index].fileInfoList == undefined
|
|
|
- ) {
|
|
|
- this.collectionItemList[val.index].fileInfoList = [];
|
|
|
- this.collectionItemList[val.index].fileIdList = [];
|
|
|
- }
|
|
|
- this.collectionItemList[val.index].fileInfoList.push(val);
|
|
|
- this.collectionItemList[val.index].fileIdList.push(val.id);
|
|
|
+ newimgarr1() {
|
|
|
+ this.$forceUpdate();
|
|
|
},
|
|
|
dateFn(val) {
|
|
|
return val.slice(0, 4) + '-' + val.slice(4, 6) + '-' + val.slice(6, 8);
|