This commit is contained in:
闫晓茹 2023-03-10 17:46:29 +08:00
parent 1b1e54ca6f
commit 9f64999a02

View File

@ -928,6 +928,8 @@ export default {
// //
title: "", title: "",
deletNewImgs: [], deletNewImgs: [],
NewImgs:[],
objitempicture:[],
objitem: [], objitem: [],
// //
open: false, open: false,
@ -1199,6 +1201,8 @@ export default {
console.log(this.deletupdata) console.log(this.deletupdata)
}, },
imgUrl2(imgUrl) { imgUrl2(imgUrl) {
// this.NewImgs.push(imgUrl);
// this.objitempicture.push(imgUrl);
console.log(imgUrl, "新上传"); console.log(imgUrl, "新上传");
this.form.personPictureUrl = imgUrl; this.form.personPictureUrl = imgUrl;
this.deletUploadImages.push(imgUrl); this.deletUploadImages.push(imgUrl);
@ -1351,7 +1355,7 @@ export default {
} }
); );
} }
console.log("",this.deletupdata) console.log("11111",this.NewImgs)
if (this.deletupdata.length > 0) { if (this.deletupdata.length > 0) {
updatePicture({ pictureUrlList: this.deletupdata }).then( updatePicture({ pictureUrlList: this.deletupdata }).then(
(res) => { (res) => {