新增HTTP开放API服务
This commit is contained in:
@@ -87,6 +87,7 @@ export const init = () => {
|
||||
onPlay(line, text) {
|
||||
setText(text, Math.max(line, 0))
|
||||
setStatusText(text)
|
||||
window.app_event.lyricLinePlay(text)
|
||||
// console.log(line, text)
|
||||
},
|
||||
onSetLyric(lines, offset) { // listening lyrics seting event
|
||||
@@ -185,6 +186,10 @@ export const setLyric = () => {
|
||||
}
|
||||
}
|
||||
|
||||
export const setAutoPause = (autoPause: boolean) => {
|
||||
lrc.setAutoPause(autoPause)
|
||||
}
|
||||
|
||||
|
||||
export const play = () => {
|
||||
// if (!musicInfo.lrc) return
|
||||
|
||||
Reference in New Issue
Block a user