chore: 支持背景音乐音量设置

This commit is contained in:
2025-12-15 17:54:35 +08:00
parent 5fad2f97f8
commit 5f6d43e66b
5 changed files with 80 additions and 11 deletions

View File

@@ -105,7 +105,8 @@ const getDefaultConfig = () => ({
// ========== 音乐配置默认值和displayConfig同级 ==========
music: {
enabled: false,
filePath: ''
filePath: '',
volume: 0.5 // 默认音量50%
},
battleEndTime: {
date: new Date().toISOString().split('T')[0],