From bd2c72e81c03960c38e423b28e3f3f62fd5aad50 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 30 May 2022 16:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/saas/AppCountryAlbum/AlbumDetail.vue | 2 +- src/saas/AppCountryAlbum/Photo.vue | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/saas/AppCountryAlbum/AlbumDetail.vue b/src/saas/AppCountryAlbum/AlbumDetail.vue index af867845..1c6c9963 100644 --- a/src/saas/AppCountryAlbum/AlbumDetail.vue +++ b/src/saas/AppCountryAlbum/AlbumDetail.vue @@ -43,7 +43,7 @@
-
+

diff --git a/src/saas/AppCountryAlbum/Photo.vue b/src/saas/AppCountryAlbum/Photo.vue index 06077c40..540b47e2 100644 --- a/src/saas/AppCountryAlbum/Photo.vue +++ b/src/saas/AppCountryAlbum/Photo.vue @@ -36,7 +36,12 @@ onLoad (query) { this.id = query.id - this.img = query.url + + this.$http.post(`/api/appalbumphoto/queryDetailById?id=${query.id}`).then(res => { + if (res.code == 0) { + this.img = res.data.photoUrl + } + }) }, methods: {