mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-07 14:13:26 +08:00
移动getChannelList到if里,避免不必要的开销
This commit is contained in:
@@ -400,8 +400,10 @@ export default {
|
||||
this.right.show = false
|
||||
this.right.type = ''
|
||||
if (this.view === 'Play') {
|
||||
this.getChannelList()
|
||||
if (this.video.key === '' && !this.video.iptv) this.channelListShow = true
|
||||
if (this.video.key === '' && !this.video.iptv) {
|
||||
this.getChannelList()
|
||||
this.channelListShow = true
|
||||
}
|
||||
}
|
||||
},
|
||||
video: {
|
||||
|
||||
Reference in New Issue
Block a user