fix. 컴포넌트 리팩토링
This commit is contained in:
@@ -5,6 +5,7 @@ interface Props {
|
||||
imgPath: string
|
||||
linkTarget?: string
|
||||
url?: string
|
||||
alt?: string
|
||||
class?: string
|
||||
}
|
||||
|
||||
@@ -18,7 +19,7 @@ const props = defineProps<Props>()
|
||||
>
|
||||
<img
|
||||
:src="props.imgPath"
|
||||
:alt="props.title"
|
||||
:alt="props.title || props.alt"
|
||||
class="card-image"
|
||||
loading="lazy"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user