This commit is contained in:
曹辉 2023-04-07 11:22:55 +08:00
parent 32b43f134f
commit d332619f2e

View File

@ -539,6 +539,7 @@ export default {
this.fileList = []; this.fileList = [];
this.upload.data.motionPrescriptionId = e.id; this.upload.data.motionPrescriptionId = e.id;
prescriptionVideoUpload(e.id).then(res => { prescriptionVideoUpload(e.id).then(res => {
if (res.data.prescriptionVideoUrlList.length > 0) {
res.data.prescriptionVideoUrlList.forEach(e => { res.data.prescriptionVideoUrlList.forEach(e => {
var arr = e.split("/"); var arr = e.split("/");
var obj = { var obj = {
@ -549,6 +550,7 @@ export default {
}; };
this.fileList.push(obj); this.fileList.push(obj);
}); });
}
this.upload.open = true; this.upload.open = true;
}); });
}, },