升级到 vue3

This commit is contained in:
lyswhut
2021-12-03 22:11:11 +08:00
parent c6635e554a
commit 8059d9cd73
260 changed files with 14443 additions and 10979 deletions
+46
View File
@@ -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