|
@@ -98,20 +98,10 @@ export default {
|
|
|
getContentFile(Mname, data)
|
|
|
.then((res) => {
|
|
|
this.curQue.definition_list = [];
|
|
|
- const obj = {
|
|
|
- name: res["480P"].name,
|
|
|
- url: res["480P"].file_url,
|
|
|
- id: "[FID##" + res["480P"].file_id + "##FID]",
|
|
|
- media_duration: res["480P"].media_duration, //音频时长
|
|
|
- };
|
|
|
- const objs = {
|
|
|
- name: res["720P"].name,
|
|
|
- url: res["720P"].file_url,
|
|
|
- id: "[FID##" + res["720P"].file_id + "##FID]",
|
|
|
- media_duration: res["720P"].media_duration, //音频时长
|
|
|
- };
|
|
|
- this.curQue.definition_list.push(obj);
|
|
|
- this.curQue.definition_list.push(objs);
|
|
|
+ this.curQue.definition_list.push(res["480P"]);
|
|
|
+ this.curQue.definition_list.push(res["720P"]);
|
|
|
+ this.curQue.definition_list[0].id = "[FID##" + res["480P"].file_id + "##FID]"
|
|
|
+ this.curQue.definition_list[1].id = "[FID##" + res["720P"].file_id + "##FID]"
|
|
|
// this.loading2.close();
|
|
|
this.loading2 = false;
|
|
|
})
|