update:取消新增商品默认图片
This commit is contained in:
parent
65c9cd9c1a
commit
3588d62dd1
@ -1706,7 +1706,7 @@
|
|||||||
// 当specs 为空时
|
// 当specs 为空时
|
||||||
if (!this.specs || this.specs.length === 0) {
|
if (!this.specs || this.specs.length === 0) {
|
||||||
const obj = {
|
const obj = {
|
||||||
main_color_img: this.default_image,
|
main_color_img: undefined,
|
||||||
color_img: [],
|
color_img: [],
|
||||||
item_enable: 1001,
|
item_enable: 1001,
|
||||||
item_is_default: false,
|
item_is_default: false,
|
||||||
@ -1726,7 +1726,7 @@
|
|||||||
for (let i = 0; i < descartes.length; i++) {
|
for (let i = 0; i < descartes.length; i++) {
|
||||||
let obj = {
|
let obj = {
|
||||||
category_id: this.row.category_id,
|
category_id: this.row.category_id,
|
||||||
main_color_img: this.default_image,
|
main_color_img: undefined,
|
||||||
color_img: [],
|
color_img: [],
|
||||||
item_enable: 1001,
|
item_enable: 1001,
|
||||||
item_is_default: false,
|
item_is_default: false,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user