fix title

This commit is contained in:
2026-02-04 17:04:04 +00:00
parent 82739ddd1d
commit dd11f198a2

View File

@@ -1,6 +1,7 @@
<script setup> <script setup>
import { ref, computed, onMounted, onUnmounted } from "vue"; import { ref, computed, onMounted, onUnmounted } from "vue";
import { Transition } from "vue"; import { Transition } from "vue";
import Header from "@/components/text/Header.vue";
const images = [ const images = [
{ url: "/img/memes/pidgeon.gif", comment: "鸟" }, { url: "/img/memes/pidgeon.gif", comment: "鸟" },
@@ -42,9 +43,9 @@ onUnmounted(() => {
@click="nextImage" @click="nextImage"
:key="currentIndex" :key="currentIndex"
> >
<p v-if="currentComment"> <Header v-if="currentComment">
{{ currentComment }} {{ currentComment }}
</p> </Header>
<img :src="currentUrl" alt="Image Viewer" /> <img :src="currentUrl" alt="Image Viewer" />
</div> </div>
</Transition> </Transition>