1.8.0版本正常的图片回显,更新到7.3.2版本后出现点问题 部分页面回显正常
也有部分页面,无法回显 如下图,上传控件区域为空
js逻辑
if(this.addBean.idcardOtherside){
let param = {
uid: -1,
name: this.addBean.idcardOtherside,
status: 'done',
url: environment.API_COMMON_URL+environment.API.getPic+"?fileName="+this.addBean.idcardOtherside,
thumbUrl:environment.API_COMMON_URL+environment.API.getPic+"?fileName="+this.addBean.idcardOtherside,
};
this.busiLicenseFanList.push(param);
}
页面组件
<nz-upload
nzAction="{{environment.API_COMMON_URL + environment.API.fileUpload}}"
nzListType="picture-card"
[(nzFileList)]="busiLicenseFanList"
[nzShowButton]="busiLicenseFanList.length < 1"
[nzPreview]="handlePreview"
[nzBeforeUpload]="beforeUpload"
[nzShowUploadList]="{showPreviewIcon: true, showRemoveIcon: false }"
[nzDisabled]="true"
>
<div class="ant-upload-text">暂无图片</div>
</nz-upload>
没报任何错误,切换到版本1.8.0就好了,部分页面正常,部分不回显,求大神相助