chore: refactor vue components

This commit is contained in:
2026-09-02 15:21:43 +02:00
parent 8a3dd7a583
commit b903eb416f
30 changed files with 209 additions and 52 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ import type {
PlayerSourcePlugin
} from './plugins/interface';
import type {
Playlist
PlaylistSongs
} from '../dtype/playlist';
import type {
RepeatMode
@@ -24,11 +24,11 @@ export const sources: {
export const currentSource = ref( '' );
export const rawQueue: Ref<Playlist> = ref( [] );
export const rawQueue: Ref<PlaylistSongs> = ref( [] );
export const queueIdx = ref( 0 );
export const queue: Ref<Playlist> = ref( [] );
export const queue: Ref<PlaylistSongs> = ref( [] );
export const isPlaying = ref( false );