修改
This commit is contained in:
parent
4c6d691696
commit
d0b7dd55fc
@ -162,7 +162,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
imgs(item) {
|
imgs(item) {
|
||||||
this.imgsurl.pictureUrlList.push(item);
|
this.imgsurl.pictureUrlList.push(item);
|
||||||
},
|
},
|
||||||
imgUrl(imgUrl) {
|
imgUrl(imgUrl) {
|
||||||
this.form.stationPictureUrl = imgUrl;
|
this.form.stationPictureUrl = imgUrl;
|
||||||
},
|
},
|
||||||
@ -254,10 +254,13 @@ export default {
|
|||||||
}
|
}
|
||||||
if (this.imgsurl.pictureUrlList.length > 0) {
|
if (this.imgsurl.pictureUrlList.length > 0) {
|
||||||
updatePicture(this.imgsurl).then((res) => {});
|
updatePicture(this.imgsurl).then((res) => {});
|
||||||
}
|
}
|
||||||
this.imgsurl={pictureUrlList:[]};
|
this.imgsurl = { pictureUrlList: [] };
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.arealist = []
|
||||||
|
this.citylist = []
|
||||||
|
this.streetlist = []
|
||||||
},
|
},
|
||||||
// 表单重置
|
// 表单重置
|
||||||
reset() {
|
reset() {
|
||||||
@ -373,7 +376,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:[]};
|
this.imgsurl = { pictureUrlList: [] };
|
||||||
if (obj.pictureUrlList.length > 0) {
|
if (obj.pictureUrlList.length > 0) {
|
||||||
updatePicture(obj).then((res) => {});
|
updatePicture(obj).then((res) => {});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user