Selaa lähdekoodia

花材问题修复

shish 4 vuotta sitten
vanhempi
commit
f8eb8b2076
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      ghsApp/src/admin/item/detail.vue

+ 0 - 4
ghsApp/src/admin/item/detail.vue

@@ -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){