fix. 컴포넌트 리팩토링, 타입 명시적 적용

This commit is contained in:
clkim
2025-09-17 15:43:47 +09:00
parent d9c26e651d
commit 4f3ac0e84a
13 changed files with 57 additions and 65 deletions

View File

@@ -19,13 +19,7 @@ const imageSrc = getResponsiveSrc(resourcesData.value?.res_path)
</script>
<template>
<BlocksVisualContent
tag="p"
:text="displayText"
:image-src="imageSrc as any"
image-class="w-full"
:style="{
color: '#000000',
}"
/>
<p>
<BlocksVisualContent :text="displayText" :image-src="imageSrc" />
</p>
</template>

View File

@@ -19,10 +19,7 @@ const imageSrc = getResponsiveSrc(resourcesData.value?.res_path)
</script>
<template>
<BlocksVisualContent
tag="h2"
:text="displayText"
:image-src="imageSrc as any"
image-class="w-full"
/>
<h2>
<BlocksVisualContent :text="displayText" :image-src="imageSrc" />
</h2>
</template>

View File

@@ -19,13 +19,7 @@ const imageSrc = getResponsiveSrc(resourcesData.value?.res_path)
</script>
<template>
<BlocksVisualContent
tag="h3"
:text="displayText"
:image-src="imageSrc as any"
image-class="w-full"
:style="{
color: '#000000',
}"
/>
<h3>
<BlocksVisualContent :text="displayText" :image-src="imageSrc" />
</h3>
</template>