富文本 修改

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) {
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 {
});
},
},
};
};

View File

@ -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;
},
},
};
};

View File

@ -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;
},
},
};
};