From 8a196ae52a0728b04dab1e5383415ade306783df Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Thu, 27 Aug 2020 14:48:11 +0200 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=94=B6=E8=97=8F=E9=A1=B9?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=9B=B4=E6=8E=A5=E6=92=AD=E6=94=BE=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 2 +- src/components/Star.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index fb8abc7..165a0af 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -476,10 +476,10 @@ export default { const doc = { key: this.video.key, ids: info.id, - last: detailRes.last, name: detailRes.name, type: detailRes.type, year: detailRes.year, + last: detailRes.last, note: detailRes.note } star.add(doc).then(starRes => { diff --git a/src/components/Star.vue b/src/components/Star.vue index 979d415..a15ae88 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -96,9 +96,9 @@ export default { playEvent (e) { history.find({ site: e.key, ids: e.ids }).then(res => { if (res) { - this.video = { key: res.key, info: { id: res.ids, name: res.name, index: res.index, site: e.key } } + this.video = { key: e.key, info: { id: res.ids, name: res.name, index: res.index } } } else { - this.video = { key: e.key, info: { id: e.ids, name: e.name, index: 0, site: e.key } } + this.video = { key: e.key, info: { id: e.ids, name: e.name, index: 0 } } } }) this.clearHasUpdateFlag(e)