mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 20:44:52 +08:00
只有当视频的核心信息变化时,才刷新播放页面
This commit is contained in:
@@ -445,6 +445,9 @@ export default {
|
||||
set (val) {
|
||||
this.SET_DetailCache(val)
|
||||
}
|
||||
},
|
||||
VideoEssentialInfo () {
|
||||
return this.video.key + '@' + this.video.info.id + '@' + this.video.info.index
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -458,12 +461,11 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
video: {
|
||||
VideoEssentialInfo: {
|
||||
handler () {
|
||||
if (this.changingIPTV) return
|
||||
this.getUrls()
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
setting: {
|
||||
handler () {
|
||||
|
||||
Reference in New Issue
Block a user