From 95ae729df83226d009b64a7171334a498c973f83 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Wed, 4 Nov 2020 23:21:18 +0800 Subject: [PATCH] =?UTF-8?q?Play=E9=A1=B5=E9=9D=A2=E6=8D=A2=E6=BA=90?= =?UTF-8?q?=E7=94=B1=E2=80=9C=E6=89=80=E6=9C=89=E2=80=9D=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=E5=90=8C=E7=BB=84=E8=B5=84=E6=BA=90=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index c5a631f..f7b236f 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -107,7 +107,7 @@ 播放列表 历史记录 快捷键指南 - 其他源的视频 + 同组其他源的视频 关闭 @@ -764,9 +764,10 @@ export default { }, async getOtherSites () { this.right.other = [] + const currentSite = await sites.find({ key: this.video.key }) sites.all().then(sitesRes => { // 排除已关闭的源和当前源 - for (const siteItem of sitesRes.filter(x => x.isActive && x.key !== this.video.key)) { + for (const siteItem of sitesRes.filter(x => x.isActive && x.group === currentSite.group && x.key !== this.video.key)) { zy.search(siteItem.key, this.name).then(searchRes => { const type = Object.prototype.toString.call(searchRes) if (type === '[object Array]') {