Skip to content

当歌词为空时会有报错 #283

@yodagg

Description

@yodagg

描述

第一首歌播放的过程中切换到第二首歌(第二首歌无歌词),将会报错。

资源

[
    {
        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
20190806112103

版本

1.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions