移除日志打印
This commit is contained in:
@@ -168,7 +168,7 @@ module.exports = class LinePlayer {
|
||||
}
|
||||
|
||||
setLyric(lyric, translationLyric) {
|
||||
console.log(translationLyric)
|
||||
// console.log(translationLyric)
|
||||
if (this.isPlay) this.pause()
|
||||
this.lyric = lyric
|
||||
this.translationLyric = translationLyric
|
||||
|
||||
@@ -125,7 +125,7 @@ export default {
|
||||
let requestObj = this.searchLyric(songInfo.name, songInfo.hash, songInfo._interval || this.getIntv(songInfo.interval))
|
||||
|
||||
requestObj.promise = requestObj.promise.then(result => {
|
||||
if (!result) return { lyric: '', tlyric: '', lxlyric: '' }
|
||||
if (!result) return { lyric: null, tlyric: null, lxlyric: null }
|
||||
|
||||
let requestObj2 = this.getLyricDownload(result.id, result.accessKey)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user