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