移除日志打印

pull/459/head
lyswhut 2021-03-07 00:56:00 +08:00
parent 19f647e6ab
commit fcfee88ef4
4 changed files with 4 additions and 3 deletions

View File

@ -239,7 +239,7 @@ export default {
document.addEventListener('mousemove', this.handleMouseMsMove)
document.addEventListener('mouseup', this.handleMouseMsUp)
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)
},
beforeDestroy() {

View File

@ -207,6 +207,7 @@ const mutations = {
if (item.typeUrl['320k']) delete item.typeUrl['320k']
if (item.typeUrl.flac) delete item.typeUrl.flac
if (item.typeUrl.wav) delete item.typeUrl.wav
if (item.lxlrc == '') item.lxlrc = null
}
}
},

View File

@ -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

View File

@ -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)