fix title
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user