diff --git a/src/page/player.vue b/src/page/player.vue index a2033ef..0e13fb6 100644 --- a/src/page/player.vue +++ b/src/page/player.vue @@ -215,6 +215,12 @@ export default Vue.extend({ this.video.index = j // @ts-ignore this.xg.src = url + video.find({ detail: this.video.detail }).then(res => { + if (res) { + this.video.index = j + video.update(res.id, this.video) + } + }) } } }