From 0ff24f4b092634ba4e926a4ffc4b547c398b6d52 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 23 Sep 2023 11:55:49 +0800 Subject: [PATCH] fix torrent ui --- src/components/cards/SiteCard.vue | 1 + src/components/cards/TorrentCard.vue | 38 ++++++++++------------------ 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/src/components/cards/SiteCard.vue b/src/components/cards/SiteCard.vue index efc51b0e..5c9f7584 100644 --- a/src/components/cards/SiteCard.vue +++ b/src/components/cards/SiteCard.vue @@ -647,6 +647,7 @@ onMounted(() => { 查看详情 diff --git a/src/components/cards/TorrentCard.vue b/src/components/cards/TorrentCard.vue index 53811a7c..a9593f1d 100644 --- a/src/components/cards/TorrentCard.vue +++ b/src/components/cards/TorrentCard.vue @@ -122,26 +122,6 @@ function getVolumeFactorClass(downloadVolume: number, uploadVolume: number) { onMounted(() => { getSiteIcon() }) - -// 弹出菜单 -const dropdownItems = ref([ - { - title: '查看详情', - value: 1, - props: { - prependIcon: 'mdi-information', - click: openTorrentDetail, - }, - }, - { - title: '下载种子', - value: 2, - props: { - prependIcon: 'mdi-download', - click: downloadTorrentFile, - }, - }, -])