mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
fix: resolve multiple UI issues in player, playlist, lyrics, and queue
- Playlist: add console.error in catch block so load failures are visible - Player: add progress bar with requestAnimationFrame and time display - Player: extract toggleQueue function with debug logging for queue panel - WebSocket: fetch queue on stateChange when not included in event payload - Lyrics: use CSS transform scrolling and reduce sync to 500ms to fix flicker Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
94a0df8391
commit
d84f23c2b2
4 files changed
+179
-29
No files matched your search
@@ -96,8 +96,10 @@ onMounted(async () => {
|
||||
]);
|
||||
playlist.value = detailRes.data.playlist;
|
||||
songs.value = songsRes.data.songs;
|
||||
} catch {
|
||||
// Ignore if API not ready
|
||||
} catch (err) {
|
||||
console.error('Failed to load playlist:', err);
|
||||
playlist.value = null;
|
||||
songs.value = [];
|
||||
} finally {
|
||||
loading.value = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user