🌈 style: v3.9.0

This commit is contained in:
alger
2025-01-22 23:43:17 +08:00
parent 25c2180247
commit 599b0251af
3 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -154,7 +154,7 @@ class AudioService {
? parseFloat(localStorage.getItem('volume') as string)
: 1,
format: ['mp3', 'aac'],
onloaderror: (id, error) => {
onloaderror: (_, error) => {
console.error('Audio load error:', error);
if (retryCount < maxRetries) {
retryCount++;
@@ -164,7 +164,7 @@ class AudioService {
reject(new Error('音频加载失败,请尝试切换其他歌曲'));
}
},
onplayerror: (id, error) => {
onplayerror: (_, error) => {
console.error('Audio play error:', error);
if (retryCount < maxRetries) {
retryCount++;