函数忘记定义 bug 修复()

This commit is contained in:
NanoRocky 2024-11-23 01:17:22 +08:00
parent 7d02b4da23
commit 6a8c1b23f5
2 changed files with 2 additions and 1 deletions

View File

@ -84,6 +84,7 @@ const startYear = ref(
import.meta.env.VITE_SITE_START.substring(0, 4) : null
);
const siteIcp = ref(import.meta.env.VITE_SITE_ICP);
const siteMps = ref(import.meta.env.VITE_SITE_MPS);
const siteAuthor = ref(import.meta.env.VITE_SITE_AUTHOR);
const siteUrl = computed(() => {
const url = import.meta.env.VITE_SITE_URL;

View File

@ -2,7 +2,7 @@
<APlayer v-if="playList[0]" ref="player" :audio="playList" :autoplay="store.playerAutoplay" :theme="theme"
:autoSwitch="false" :loop="store.playerLoop" :order="store.playerOrder" :volume="volume" :showLrc="true"
:listFolded="listFolded" :listMaxHeight="listMaxHeight" :noticeSwitch="false" @play="onPlay" @pause="onPause"
@timeupdate="onTimeUp" @error="loadMusicError" />
@timeupdate="showYrc" @error="loadMusicError" />
</template>
<script setup>