Skip to content

Commit 636ef60

Browse files
committed
💝 电视剧下,记录按钮点击后的集数。
1 parent b75de05 commit 636ef60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/page/player.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,12 @@ export default Vue.extend({
215215
this.video.index = j
216216
// @ts-ignore
217217
this.xg.src = url
218+
video.find({ detail: this.video.detail }).then(res => {
219+
if (res) {
220+
this.video.index = j
221+
video.update(res.id, this.video)
222+
}
223+
})
218224
}
219225
}
220226
}

0 commit comments

Comments
 (0)