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