fix(ImgFigure): better template HTML
This commit is contained in:
parent
c4b8561997
commit
3c1f95664c
@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<figure>
|
||||||
<img :alt="alt" :src="src" />
|
<img :alt="alt" :src="src" />
|
||||||
<figcaption><slot></slot></figcaption>
|
<figcaption><slot></slot></figcaption>
|
||||||
|
</figure>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
Loading…
Reference in New Issue
Block a user