Commit 55e45c19 authored by 罗超's avatar 罗超

1

parent e3900647
...@@ -188,19 +188,18 @@ export default { ...@@ -188,19 +188,18 @@ export default {
//图片 //图片
if (x.groupList && x.groupList.length > 0) { if (x.groupList && x.groupList.length > 0) {
x.groupList.forEach((j) => { x.groupList.forEach((j) => {
this.imgList = j.FileList; this.imgList.push(...j.FileList);
}); });
} }
} else { } else {
if (x.groupList && x.groupList.length > 0) { if (x.groupList && x.groupList.length > 0) {
x.groupList.forEach((j) => { x.groupList.forEach((j) => {
this.videolist = j.FileList; this.videolist.push(...j.FileList);
}); });
} }
} }
}); });
console.log(this.imgList, this.videolist); console.log(this.imgList, this.videolist);
this.imgList.map((e) => { this.imgList.map((e) => {
this.preImg.push(e.Path); this.preImg.push(e.Path);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment