This commit is contained in:
faiz 2024-06-27 20:20:37 +08:00
parent f5cf0721eb
commit 68ddd41c3c
1 changed files with 5 additions and 1 deletions

View File

@ -163,7 +163,9 @@ export default {
status: null, status: null,
city_name: '', city_name: '',
title: '', title: '',
content: '' content: '',
img_zip:'',
trip_zip:''
}, },
dialogCreate: false, dialogCreate: false,
dialogEdit: false, dialogEdit: false,
@ -193,10 +195,12 @@ export default {
}, },
handleAvatarSuccess(res, file) { handleAvatarSuccess(res, file) {
this.imageUrl = URL.createObjectURL(file.raw) this.imageUrl = URL.createObjectURL(file.raw)
this.listQuery.img_zip = this.imageUrl
console.log(this.imageUrl); console.log(this.imageUrl);
}, },
handleSuccess(res, file) { handleSuccess(res, file) {
this.imageUrls = URL.createObjectURL(file.raw) this.imageUrls = URL.createObjectURL(file.raw)
this.listQuery.trip_zip = this.imageUrls
}, },
onAdd() { onAdd() {
this.anchors = {} // 0 this.anchors = {} // 0