|
@@ -121,14 +121,14 @@ export default {
|
|
|
if (this.userInfo.photoMethod == '1') {
|
|
if (this.userInfo.photoMethod == '1') {
|
|
|
this.imgArr = this.fileInfoList || [];
|
|
this.imgArr = this.fileInfoList || [];
|
|
|
} else {
|
|
} else {
|
|
|
- this.imgArr = [];
|
|
|
|
|
- if (this.formData.mediaInfos) {
|
|
|
|
|
- getTicketFun(['downloadImage']).then(() => {
|
|
|
|
|
- this.toastLoading(0, '加载中,请稍候...', true);
|
|
|
|
|
- let mediaInfosCopy = JSON.parse(JSON.stringify(this.formData.mediaInfos));
|
|
|
|
|
- this.downloadImage(mediaInfosCopy);
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.imgArr = val.mediaInfos || [];
|
|
|
|
|
+ // if (this.formData.mediaInfos) {
|
|
|
|
|
+ // getTicketFun(['downloadImage']).then(() => {
|
|
|
|
|
+ // this.toastLoading(0, '加载中,请稍候...', true);
|
|
|
|
|
+ // let mediaInfosCopy = JSON.parse(JSON.stringify(this.formData.mediaInfos));
|
|
|
|
|
+ // this.downloadImage(mediaInfosCopy);
|
|
|
|
|
+ // });
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
deep: true,
|
|
deep: true,
|