From 7f9c223c9a9810c3002c6977bd74c92e53c4db55 Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Wed, 3 Jul 2024 17:17:40 +0800 Subject: [PATCH] 1 --- admin/src/views/qa/qa.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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() {