From 636ef602b1ffb6e0952c1cba093f13942246f82a Mon Sep 17 00:00:00 2001 From: Hunlongyu Date: Wed, 26 Feb 2020 22:04:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9D=20=E7=94=B5=E8=A7=86=E5=89=A7?= =?UTF-8?q?=E4=B8=8B=EF=BC=8C=E8=AE=B0=E5=BD=95=E6=8C=89=E9=92=AE=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=90=8E=E7=9A=84=E9=9B=86=E6=95=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/player.vue | 6 ++++++ 1 file changed, 6 insertions(+) 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) + } + }) } } }