修改
This commit is contained in:
parent
32b43f134f
commit
d332619f2e
@ -539,16 +539,18 @@ 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 => {
|
||||||
res.data.prescriptionVideoUrlList.forEach(e => {
|
if (res.data.prescriptionVideoUrlList.length > 0) {
|
||||||
var arr = e.split("/");
|
res.data.prescriptionVideoUrlList.forEach(e => {
|
||||||
var obj = {
|
var arr = e.split("/");
|
||||||
name: arr[4],
|
var obj = {
|
||||||
response: {
|
name: arr[4],
|
||||||
prescriptionVideoUrl: e
|
response: {
|
||||||
}
|
prescriptionVideoUrl: e
|
||||||
};
|
}
|
||||||
this.fileList.push(obj);
|
};
|
||||||
});
|
this.fileList.push(obj);
|
||||||
|
});
|
||||||
|
}
|
||||||
this.upload.open = true;
|
this.upload.open = true;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user