diff --git a/src/views/system/motionPrescriptionLibrary/index.vue b/src/views/system/motionPrescriptionLibrary/index.vue index a137e22..2865ba7 100644 --- a/src/views/system/motionPrescriptionLibrary/index.vue +++ b/src/views/system/motionPrescriptionLibrary/index.vue @@ -539,7 +539,10 @@ export default { this.fileList = []; this.upload.data.motionPrescriptionId = e.id; prescriptionVideoUpload(e.id).then(res => { - if (res.data.prescriptionVideoUrlList) { + if ( + res.data.prescriptionVideoUrlList && + res.data.prescriptionVideoUrlList.length > 0 + ) { res.data.prescriptionVideoUrlList.forEach(e => { var arr = e.split("/"); var obj = {