diff --git a/src/components/PhotoSquare.vue b/src/components/PhotoSquare.vue index 49c0394..5aaa5ef 100644 --- a/src/components/PhotoSquare.vue +++ b/src/components/PhotoSquare.vue @@ -79,6 +79,7 @@ let inviteCode = ''; const rankingInvite = ref(0); const nameInvite = ref(''); const linkCountInvite = ref(0); +const backgroundImageForInvite = ref(''); const urlParams = new URLSearchParams(window.location.search); mergeId = urlParams.get('merge_id'); @@ -99,6 +100,7 @@ const getInviteInfo = ()=> { rankingInvite.value = data.ranking; nameInvite.value = data.user_name; linkCountInvite.value = data.likes_count; + backgroundImageForInvite.value = data.result_url; } else { ElMessage.error(data.message); // emit('update:show', false); @@ -250,7 +252,8 @@ const getBackgroundImage = (item) => {