Skip to content

Commit bed984c

Browse files
committed
fix: add basePath on personal-sponsor
1 parent 66d0ad3 commit bed984c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/web/app/components/ticket/PersonalSponsorSection.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script setup lang="ts">
22
import { endedApplyNormal, ticketUrl } from '~/utils/constants'
3+
import { useWithBase } from '#imports'
4+
const withBase = useWithBase()
35
</script>
46

57
<template>
@@ -16,7 +18,7 @@ import { endedApplyNormal, ticketUrl } from '~/utils/constants'
1618
:detail="$t(`personal_sponsor.merit${i}.detail`)"
1719
:caution="i === 2 || i === 4 ? $t(`personal_sponsor.merit${i}.caution`) : ''"
1820
>
19-
<NuxtImg alt="" :src="`/sponsor/merit-${i}.jpg`" loading="lazy" class="image" />
21+
<NuxtImg alt="" :src="withBase(`/sponsor/merit-${i}.jpg`)" loading="lazy" class="image" />
2022
</VFMeritCard>
2123
</div>
2224
<div class="personal-sponsor-text">

0 commit comments

Comments
 (0)