优化更新弹窗功能,新增非安装版弹窗提醒

This commit is contained in:
lyswhut
2019-08-24 14:24:07 +08:00
parent be689f088d
commit b270096591
10 changed files with 120 additions and 34 deletions
+3 -3
View File
@@ -212,9 +212,9 @@ export default {
if (!this.targetSong.interval && this.listId != 'download') this.updateMusicInfo({ index: this.playIndex, data: { interval: formatPlayTime2(this.maxPlayTime) } })
this.status = '音乐加载中...'
})
// this.audio.addEventListener('loadstart', () => {
// this.status = '开始加载音乐信息...'
// })
this.audio.addEventListener('loadstart', () => {
this.status = '音乐加载中...'
})
this.audio.addEventListener('canplay', () => {
console.log('加载完成开始播放')
// if (this.musicInfo.lrc) this.lyric.lrc.play(this.audio.currentTime * 1000)