diff --git a/src/views/product/addProduct/components/addProductEdit.vue b/src/views/product/addProduct/components/addProductEdit.vue index 2c8c9fa..835c330 100644 --- a/src/views/product/addProduct/components/addProductEdit.vue +++ b/src/views/product/addProduct/components/addProductEdit.vue @@ -1706,7 +1706,7 @@ // 当specs 为空时 if (!this.specs || this.specs.length === 0) { const obj = { - main_color_img: this.default_image, + main_color_img: undefined, color_img: [], item_enable: 1001, item_is_default: false, @@ -1726,7 +1726,7 @@ for (let i = 0; i < descartes.length; i++) { let obj = { category_id: this.row.category_id, - main_color_img: this.default_image, + main_color_img: undefined, color_img: [], item_enable: 1001, item_is_default: false,