Commit afb26637 authored by lixy's avatar lixy

上架

parent b3398f4a
......@@ -479,22 +479,21 @@
});
return;
}
if(!this.form.describes){
if(!this.form.images){
this.tabName = "second";
this.$notify({
title: '警告',
message: "请输入公司简介",
message: "请上传公司图片",
type: 'warning',
duration: 2000
});
return;
}
if(!this.form.images){
if(!this.form.describes){
this.tabName = "second";
this.$notify({
title: '警告',
message: "请上传公司图片",
message: "请输入公司简介",
type: 'warning',
duration: 2000
});
......@@ -738,11 +737,10 @@
handleRemove(file, fileList){
let list = [];
fileList.map(function(item){
if(item.url != file.url){
list.push(item);
}
list.push(item.url);
});
this.fileList2 = list;
this.fileList2 = fileList;
this.form.images = list.join(",");
// let arr = [];
// this.form.bannerDTOS.map(function(item){
// if(item.cover != file.url){
......
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