Skip to content

Commit 4fa668d

Browse files
🐛 新增临时模式映射以修复卡片无法显示的问题
1 parent dd49e1e commit 4fa668d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ const members = pipe(
354354
<n-flex justify="center" align="center" size="small">
355355
<template v-for="member in data">
356356
<n-button class="w-full sm:w-[32%]" text tag="a" :href="(`https://osu.ppy.sh/users/${member.osu_id}`)">
357-
<n-image preview-disabled :img-props="{ class: 'w-full' }" :src="(`https://osu-profile-stats.vercel.app/api/profile-stats/${member.osu_id}?playmode=${member.mode}&version=full`)"/>
357+
<n-image preview-disabled :img-props="{ class: 'w-full' }" :src="(`https://osu-profile-stats.vercel.app/api/profile-stats/${member.osu_id}?playmode=${member.mode === 'catch' ? 'fruits' : member.mode}&version=full`)"/>
358358
</n-button>
359359
</template>
360360
</n-flex>

0 commit comments

Comments
 (0)