This commit is contained in:
faiz 2024-07-03 17:17:40 +08:00
parent 3a4d79833c
commit 7f9c223c9a
1 changed files with 5 additions and 2 deletions

View File

@ -275,11 +275,14 @@ export default {
}) })
}, },
handleAvatarSuccess(res, file) { 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 // this.anchors.img_zip = this.img_zip
}, },
handleSuccess(res, file) { 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 // this.anchors.trip_zip = this.trip_zip
}, },
onAdd() { onAdd() {