mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 20:44:52 +08:00
调整历史播放页面watch监测view的事件
This commit is contained in:
@@ -161,8 +161,10 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
view () {
|
||||
this.getAllhistory()
|
||||
this.getAllsites()
|
||||
if (this.view === 'History') {
|
||||
this.getAllhistory()
|
||||
this.getAllsites()
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -416,9 +416,9 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
view () {
|
||||
this.right.show = false
|
||||
this.right.type = ''
|
||||
if (this.view === 'Play') {
|
||||
this.right.show = false
|
||||
this.right.type = ''
|
||||
this.getChannelList()
|
||||
if (this.video.key === '' && !this.video.iptv) {
|
||||
this.channelListShow = true
|
||||
|
||||
Reference in New Issue
Block a user