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