Commit 50ca837e authored by qipeng's avatar qipeng

图片下载

parent e51186ea
......@@ -186,7 +186,7 @@ export default {
if(this.checkProjectAll==true){
this.checkProjectAll=false
}
if(this.previewData[index].checkType==false){
if(this.previewData[index].list[index2].checkType==false){
this.previewData[index].list[index2].checkType = true
}else{
this.previewData[index].list[index2].checkType = false
......@@ -214,8 +214,10 @@ export default {
upLoad(){//下单
this.previewData.forEach((item,index)=>{
item.list.forEach((item2,index2)=>{
var imgUrl = item2.faceSourceUrl||item2.faceAiUrl
this.imgList.push(imgUrl)
if(item2.checkType==true){
var imgUrl = item2.faceSourceUrl||item2.faceAiUrl
this.imgList.push(imgUrl)
}
})
})
this.download()
......
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