duy hace 2 años
padre
commit
b91d02ea7b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/tasks/hc-data.vue

+ 3 - 1
src/views/tasks/hc-data.vue

@@ -156,7 +156,9 @@ const rowTaskName = async (row) => {
             approvalType: row.approvalType,
         })
         if (!error && code === 200) {
-            const approvalFileList = getArrValue(data['approvalFileList'])
+             if(approvalFileList[approvalFileList.length-1].fileName===''){
+                 approvalFileList.pop()
+             }
             taskReviewData.value = approvalFileList
             if (approvalFileList.length > 0) {
                 batchPdfUrl.value = approvalFileList[0].fileUrl