当IPTV的列表为空时,不显示频道列表

This commit is contained in:
haiyangcui
2021-02-27 22:23:25 +01:00
parent 877b564322
commit 72ae7494d2

View File

@@ -453,7 +453,7 @@ export default {
this.right.show = false
this.right.type = ''
this.getChannelList()
if (this.video.key === '' && !this.isLive) {
if (this.video.key === '' && !this.isLive && this.channelList?.length > 0) {
this.state.showChannelList = true
}
}