当歌词为空时会有报错
Open
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述
第一首歌播放的过程中切换到第二首歌(第二首歌无歌词),将会报错。
#### 资源
```js
[
{
name: '星星点灯', // 本地资源
artist: '郑智化',
url: './xx.m4a',
cover: './xx.jpg',
lrc: './xx.lrc'
},
{
name: '天空之城', // 线上资源
artist: '久石让',
url: 'http://xx.mp3',
cover: '',
lrc: ''
}
]
```
#### 报错
Uncaught TypeError: Cannot read property 'classList' of undefined

#### 版本
1.10.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.