diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index dbc0263..4a0d696 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -870,7 +870,7 @@ export default { updateGoodsInfo(this.form).then((response) => { var obj = { pictureUrlList: [] }; if (this.imgone != this.form.goodsPictureUrl) { - obj.pictureUrlList.push(this.form.goodsPictureUrl); + obj.pictureUrlList.push(this.imgone); } if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => { diff --git a/src/views/system/goodsCategory/index.vue b/src/views/system/goodsCategory/index.vue index 66a3539..d5acf05 100644 --- a/src/views/system/goodsCategory/index.vue +++ b/src/views/system/goodsCategory/index.vue @@ -364,7 +364,7 @@ export default { updateGoodsCategory(this.form).then((response) => { var obj = { pictureUrlList: [] }; if (this.imgone != this.form.goodsCategoryPicture) { - obj.pictureUrlList.push(this.form.goodsCategoryPicture); + obj.pictureUrlList.push(this.imgone); } if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => { diff --git a/src/views/system/goodsInfo/index.vue b/src/views/system/goodsInfo/index.vue index 2b2be0f..5943a38 100644 --- a/src/views/system/goodsInfo/index.vue +++ b/src/views/system/goodsInfo/index.vue @@ -861,7 +861,7 @@ export default { updateGoodsInfo(this.form).then((response) => { var obj = { pictureUrlList: [] }; if (this.imgone != this.form.goodsPictureUrl) { - obj.pictureUrlList.push(this.form.goodsPictureUrl); + obj.pictureUrlList.push(this.imgone); } if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => { diff --git a/src/views/system/stationItem/index.vue b/src/views/system/stationItem/index.vue index 70698fd..0f530e0 100644 --- a/src/views/system/stationItem/index.vue +++ b/src/views/system/stationItem/index.vue @@ -1164,9 +1164,7 @@ export default { updateNurseItem(this.form).then((response) => { var obj = { pictureUrlList: [] }; if (this.imgone != this.form.nurseStationItem.itemPictureUrl) { - obj.pictureUrlList.push( - this.form.nurseStationItem.itemPictureUrl - ); + obj.pictureUrlList.push(this.imgone); } if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => {