src/views/operate/images/updateUser/index.vue
@@ -129,6 +129,8 @@ let _imageList = []; let imageData = this.imagedata.url.split(","); imageData.forEach((url) => { url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","") console.log( "图片:" + `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}` ); @@ -172,6 +174,8 @@ }); }, setPictureUrl({ url }) { url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","") this.imageList.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`); this.imagedata.url = this.imageList.join(","); },