shish il y a 2 ans
Parent
commit
b9d60d9917
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      ghsApp/src/admin/item/detail.vue

+ 2 - 1
ghsApp/src/admin/item/detail.vue

@@ -765,8 +765,9 @@ export default {
             this.form[i] = res.data[i]
         });
 
+        this.currentImgData = []
+        this.form.cover = []
         this.currentImgData.push(res.data.bigCover)
-
         this.form.cover = [res.data.shortCover]
 
         this.form.price = res.data.prePrice