移除日志打印
parent
19f647e6ab
commit
fcfee88ef4
|
@ -239,7 +239,7 @@ export default {
|
||||||
document.addEventListener('mousemove', this.handleMouseMsMove)
|
document.addEventListener('mousemove', this.handleMouseMsMove)
|
||||||
document.addEventListener('mouseup', this.handleMouseMsUp)
|
document.addEventListener('mouseup', this.handleMouseMsUp)
|
||||||
window.addEventListener('resize', this.handleResize)
|
window.addEventListener('resize', this.handleResize)
|
||||||
console.log('object', this.$refs.dom_lyric_text)
|
// console.log('object', this.$refs.dom_lyric_text)
|
||||||
this.setLyric(this.lyricLines)
|
this.setLyric(this.lyricLines)
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
|
|
@ -207,6 +207,7 @@ const mutations = {
|
||||||
if (item.typeUrl['320k']) delete item.typeUrl['320k']
|
if (item.typeUrl['320k']) delete item.typeUrl['320k']
|
||||||
if (item.typeUrl.flac) delete item.typeUrl.flac
|
if (item.typeUrl.flac) delete item.typeUrl.flac
|
||||||
if (item.typeUrl.wav) delete item.typeUrl.wav
|
if (item.typeUrl.wav) delete item.typeUrl.wav
|
||||||
|
if (item.lxlrc == '') item.lxlrc = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -168,7 +168,7 @@ module.exports = class LinePlayer {
|
||||||
}
|
}
|
||||||
|
|
||||||
setLyric(lyric, translationLyric) {
|
setLyric(lyric, translationLyric) {
|
||||||
console.log(translationLyric)
|
// console.log(translationLyric)
|
||||||
if (this.isPlay) this.pause()
|
if (this.isPlay) this.pause()
|
||||||
this.lyric = lyric
|
this.lyric = lyric
|
||||||
this.translationLyric = translationLyric
|
this.translationLyric = translationLyric
|
||||||
|
|
|
@ -125,7 +125,7 @@ export default {
|
||||||
let requestObj = this.searchLyric(songInfo.name, songInfo.hash, songInfo._interval || this.getIntv(songInfo.interval))
|
let requestObj = this.searchLyric(songInfo.name, songInfo.hash, songInfo._interval || this.getIntv(songInfo.interval))
|
||||||
|
|
||||||
requestObj.promise = requestObj.promise.then(result => {
|
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)
|
let requestObj2 = this.getLyricDownload(result.id, result.accessKey)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue