|
@@ -472,10 +472,6 @@ export default {
|
|
|
if(Array.isArray(this.form.cover)){
|
|
if(Array.isArray(this.form.cover)){
|
|
|
this.form.cover = this.form.cover[0]
|
|
this.form.cover = this.form.cover[0]
|
|
|
}
|
|
}
|
|
|
- if(typeof(this.form.cover) != 'string'){
|
|
|
|
|
- this.$msg("请上传图片哦")
|
|
|
|
|
- return false
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
let requestHost = addProduct
|
|
let requestHost = addProduct
|
|
|
if(this.form.id && this.form.id != 0){
|
|
if(this.form.id && this.form.id != 0){
|