Commit 11e4a6bd authored by lixy's avatar lixy

分公司管理-直接上架图片

parent b4c69a52
......@@ -418,10 +418,12 @@
let arr = info.images.split(",");//图片
let temp = [];
for(let i = 0; i < arr.length; i++){
let p = {
url: arr[i]
if(arr[i]){
let p = {
url: arr[i]
}
temp.push(p);
}
temp.push(p);
}
t.fileList2 = temp;
this.activeName2 = "first";
......@@ -466,7 +468,7 @@
});
return;
}
if(!this.form.images){
if(this.fileList2.length<=0){
this.tabName = "second";
this.$notify({
title: '警告',
......
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