diff --git a/pages/investigation/task.vue b/pages/investigation/task.vue index ed237a5..d3ff73b 100644 --- a/pages/investigation/task.vue +++ b/pages/investigation/task.vue @@ -579,9 +579,15 @@ } ] // console.log(this.hiddenDangerList2) - this.fileList = [{ - url: v.hdPic - }]; + + if(v.hdPic){ + this.fileList = [{ + url: v.hdPic + }]; + }else{ + this.fileList = []; + } + }, add() { // this.addInvestigationInfo.type='add'