diff --git a/src/components/cards/TorrentCard.vue b/src/components/cards/TorrentCard.vue index 4881010f..130f72ae 100644 --- a/src/components/cards/TorrentCard.vue +++ b/src/components/cards/TorrentCard.vue @@ -116,6 +116,26 @@ const getVolumeFactorColor = (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, + }, + }, +]);