富文本 修改

This commit is contained in:
shidongli 2022-12-07 11:01:26 +08:00
parent ef3d1f2e63
commit a66356743c
3 changed files with 6 additions and 3 deletions

View File

@ -393,6 +393,7 @@ export default {
if (this.imgone != this.form.goodsPictureUrl) { if (this.imgone != this.form.goodsPictureUrl) {
obj.pictureUrlList.push(this.imgone); obj.pictureUrlList.push(this.imgone);
} }
this.imgsurl={pictureUrlList:[]};
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => { updatePicture(obj).then((res) => {
console.log(res); console.log(res);

View File

@ -373,6 +373,7 @@ export default {
if (this.imgtwo != this.form.stationPictureUrl) { if (this.imgtwo != this.form.stationPictureUrl) {
obj.pictureUrlList.push(this.imgtwo); obj.pictureUrlList.push(this.imgtwo);
} }
this.imgsurl={pictureUrlList:[]};
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => {}); updatePicture(obj).then((res) => {});
} }

View File

@ -473,6 +473,7 @@ export default {
if (obj.pictureUrlList.length > 0) { if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => { }); updatePicture(obj).then((res) => { });
} }
this.imgsurl={pictureUrlList:[]};
this.form.nurseStationItemPrices.forEach(e => { this.form.nurseStationItemPrices.forEach(e => {
e.price = Number(e.price) e.price = Number(e.price)
}) })