Commit fc326fef authored by zhengke's avatar zhengke

修改

parent de3e8cd1
......@@ -476,14 +476,12 @@
}
if(this.data.list.length<this.data.goodsLength){
if(this.data.list.length>0){
this.data.list.forEach(x=>{
if(x.linkUrl==''){
this.Error('请选择链接');
}else{
this.data.list.push(obj);
for(var i=0;i<this.data.list.length;i++){
if(this.data.list[i].linkUrl==''){
this.Error(`请选择第${i+1}个的链接`);
return;
}
}
})
}else{
this.data.list.push(obj);
}
}else{
......
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