|
|
@@ -451,15 +451,16 @@ export default {
|
|
|
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);
|
|
|
+ this.$forceUpdate();
|
|
|
+ // 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);
|
|
|
},
|
|
|
dateFn(val) {
|
|
|
return val.slice(0, 4) + '-' + val.slice(4, 6) + '-' + val.slice(6, 8);
|