From 361a4e04143d5e18d938351cd5da251fc91ed5f6 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 6 Feb 2025 11:42:32 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BC=98=E5=8C=96=E5=88=86?= =?UTF-8?q?=E7=BB=84=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BD=BF=E7=94=A8=E5=85=83?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=BC=BA=E5=88=86=E7=BB=84=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/torrent/TorrentCardListView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/torrent/TorrentCardListView.vue b/src/views/torrent/TorrentCardListView.vue index 448634cc..ad2eda15 100644 --- a/src/views/torrent/TorrentCardListView.vue +++ b/src/views/torrent/TorrentCardListView.vue @@ -209,11 +209,11 @@ onMounted(() => { const groupMap = new Map() // 遍历数据 props.items?.forEach(item => { - const { torrent_info } = item + const { torrent_info, meta_info } = item // init options initOptions(item) // group data - const key = `${torrent_info.title}_${torrent_info.size}` + const key = `${meta_info.name}_${meta_info.resource_pix}_${meta_info.edition}_${meta_info.resource_team}_${meta_info.season_episode}_${torrent_info.size}` if (groupMap.has(key)) { // 已入库相同标题和大小的分组,将当前上下文信息添加到分组中 const group = groupMap.get(key)