diff --git a/src/views/system/OperateGoodsInfo/indexjs.js b/src/views/system/OperateGoodsInfo/indexjs.js index 2d72626..18e05fc 100644 --- a/src/views/system/OperateGoodsInfo/indexjs.js +++ b/src/views/system/OperateGoodsInfo/indexjs.js @@ -393,6 +393,7 @@ export default { if (this.imgone != this.form.goodsPictureUrl) { obj.pictureUrlList.push(this.imgone); } + this.imgsurl={pictureUrlList:[]}; if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => { console.log(res); @@ -481,4 +482,4 @@ export default { }); }, }, -}; \ No newline at end of file +}; diff --git a/src/views/system/station/stationjs.js b/src/views/system/station/stationjs.js index b4421fc..54279fd 100644 --- a/src/views/system/station/stationjs.js +++ b/src/views/system/station/stationjs.js @@ -373,6 +373,7 @@ export default { if (this.imgtwo != this.form.stationPictureUrl) { obj.pictureUrlList.push(this.imgtwo); } + this.imgsurl={pictureUrlList:[]}; if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => {}); } @@ -457,4 +458,4 @@ export default { this.upload.isUploading = true; }, }, -}; \ No newline at end of file +}; diff --git a/src/views/system/stationItem/stationItemjs.js b/src/views/system/stationItem/stationItemjs.js index aebe204..1464d88 100644 --- a/src/views/system/stationItem/stationItemjs.js +++ b/src/views/system/stationItem/stationItemjs.js @@ -473,6 +473,7 @@ export default { if (obj.pictureUrlList.length > 0) { updatePicture(obj).then((res) => { }); } + this.imgsurl={pictureUrlList:[]}; this.form.nurseStationItemPrices.forEach(e => { e.price = Number(e.price) }) @@ -520,4 +521,4 @@ export default { this.upload.open = true; }, }, -}; \ No newline at end of file +};