升级到 vue3
This commit is contained in:
@@ -10,6 +10,49 @@ const names = {
|
||||
set_config: 'set_config',
|
||||
set_hot_key_config: 'set_hot_key_config',
|
||||
},
|
||||
player: {
|
||||
playMusic: 'playMusic',
|
||||
setTogglePlay: 'setTogglePlay',
|
||||
setProgress: 'setProgress',
|
||||
play: 'play',
|
||||
setPlay: 'setPlay',
|
||||
pause: 'pause',
|
||||
setPause: 'setPause',
|
||||
stop: 'stop',
|
||||
setStop: 'setStop',
|
||||
error: 'error',
|
||||
setPlayPrev: 'setPlayPrev',
|
||||
setPlayNext: 'setPlayNext',
|
||||
|
||||
updatePic: 'updatePic',
|
||||
updateLyric: 'updateLyric',
|
||||
setPlayInfo: 'setPlayInfo',
|
||||
|
||||
activeTransition: 'activeTransition',
|
||||
|
||||
setVolume: 'setVolume',
|
||||
toggleMute: 'toggleMute',
|
||||
volume: 'volume',
|
||||
|
||||
player_playing: 'player_playing',
|
||||
player_pause: 'player_pause',
|
||||
player_stop: 'player_stop',
|
||||
player_ended: 'player_ended',
|
||||
player_error: 'player_error',
|
||||
player_loadeddata: 'player_loadeddata',
|
||||
player_loadstart: 'player_loadstart',
|
||||
player_canplay: 'player_canplay',
|
||||
player_emptied: 'player_emptied',
|
||||
player_waiting: 'player_waiting',
|
||||
},
|
||||
list: {
|
||||
saveMyList: 'saveMyList',
|
||||
listChange: 'listChange',
|
||||
musicInfoChange: 'musicInfoChange',
|
||||
},
|
||||
download: {
|
||||
listChange: 'listChange',
|
||||
},
|
||||
sync: {
|
||||
send_action_list: 'send_action_list',
|
||||
handle_action_list: 'handle_action_list',
|
||||
@@ -26,4 +69,7 @@ for (const item of Object.keys(names)) {
|
||||
}
|
||||
|
||||
export const base = names.base
|
||||
export const player = names.player
|
||||
export const list = names.list
|
||||
export const download = names.download
|
||||
export const sync = names.sync
|
||||
|
||||
Reference in New Issue
Block a user