From 006f22159a0cc711f2073c21c663be20e4a46c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 7 Apr 2023 11:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/motionPrescriptionLibrary/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = {