From a66356743c9edda7e0f21eb37c3f7111e1359879 Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 7 Dec 2022 11:01:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/OperateGoodsInfo/indexjs.js | 3 ++- src/views/system/station/stationjs.js | 3 ++- src/views/system/stationItem/stationItemjs.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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 +};