Commit afb26637 authored by lixy's avatar lixy

上架

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