fix: 标题曲不播放

This commit is contained in:
AncTe committed 2025-01-18 22:56:06 +08:00
1 parent f64cfb2c14
commit e6ac3197e1
3 files changed
+2 -9

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ interface Bgm {
const list = bgm as Partial<Record<BgmIds, Bgm>>;
const selected = ref<BgmIds>('title.mp3');
const selected = ref<BgmIds>('title.opus');
const content = computed(() => {
return eval('`' + splitText(list[selected.value]!.desc) + '`');
+1 -1
View File
@@ -328,7 +328,7 @@ onMounted(async () => {
resize();
soundChecked.value = mainSetting.getValue('audio.bgmEnabled', true);
bgmController.play('title.mp3');
bgmController.play('title.opus');
start.style.opacity = '1';
if (played) {