diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue index 927d8ad27..0d9e0a3b8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue @@ -2537,7 +2537,12 @@ }, // 文件预览及下载 handleFilePreview(file) { - const attId = file.response.data.id + let attId = "" + if(file && file.id){ + attId = file.id + }else { + attId = file.response.data.id + } if (this.preview) { if (attId) { window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId