diff --git a/admin/src/views/qa/qa.vue b/admin/src/views/qa/qa.vue index 9bcbde55..8376667b 100644 --- a/admin/src/views/qa/qa.vue +++ b/admin/src/views/qa/qa.vue @@ -275,11 +275,14 @@ export default { }) }, handleAvatarSuccess(res, file) { - this.anchors.img_zip = URL.createObjectURL(file.raw) + console.log(`${window.location.protocol}//${window.location.host}/${res.data}`); + // console.log(res.data); + this.anchors.img_zip = `${window.location.protocol}//${window.location.host}/${res.data}` // this.anchors.img_zip = this.img_zip }, handleSuccess(res, file) { - this.anchors.trip_zip = URL.createObjectURL(file.raw) + console.log(`${window.location.protocol}//${window.location.host}/${res.data}`); + this.anchors.trip_zip = `${window.location.protocol}//${window.location.host}/${res.data}` // this.anchors.trip_zip = this.trip_zip }, onAdd() {