diff --git a/src/components/cards/MediaCard.vue b/src/components/cards/MediaCard.vue index 44a10cd6..349d00b5 100644 --- a/src/components/cards/MediaCard.vue +++ b/src/components/cards/MediaCard.vue @@ -6,6 +6,9 @@ const props = defineProps({ media: Object as PropType }); +// 图片加载状态 +const isImageLoaded = ref(false); + const getChipColor = (type: string) => { if (type === "电影") { return "border-blue-500 bg-blue-600"; @@ -23,8 +26,8 @@ const getChipColor = (type: string) => {