zhangwencui
7 分钟以前 f08a81f01bc4a4104dd9ef04e071bb0bd0eb8afe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type { InjectionKey, Ref } from 'vue';
 
export interface MusicSong {
  audioUrl?: string;
  date?: string;
  desc?: string;
  id?: number;
  imageUrl?: string;
  lyric?: string;
  singer?: string;
  title?: string;
  videoUrl?: string;
}
 
export const currentSongKey: InjectionKey<Ref<MusicSong>> =
  Symbol('currentSong');