From 8925ea5f1bceca51f32ea290fedc891bdbe90405 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Sun, 25 Oct 2026 08:36:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=93=8D=E4=BD=9C=EF=BC=8C=E5=B9=B6=E8=AE=A9?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA=E5=87=BA?= =?UTF-8?q?=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/download/DownloadManagerView.vue | 16 ++++------------ desktop/src/shell/Shell.vue | 10 +++++++++- desktop/src/styles.css | 18 +++++++++++++++++- 3 files changed, 30 insertions(+), 14 deletions(-) diff --git a/desktop/src/features/download/DownloadManagerView.vue b/desktop/src/features/download/DownloadManagerView.vue index 8559c9c..e3af940 100644 --- a/desktop/src/features/download/DownloadManagerView.vue +++ b/desktop/src/features/download/DownloadManagerView.vue @@ -2,7 +2,7 @@ import { computed, onMounted, onUnmounted, ref } from "vue"; import { NButton, NCheckbox, NEmpty, NIcon, NInputNumber, NProgress, NTag, NTooltip, useDialog, useMessage } from "naive-ui"; import { ChevronBackOutline, FolderOpenOutline, HelpCircleOutline, PauseOutline, PlayOutline, StopCircleOutline, TrashOutline } from "@vicons/ionicons5"; -import { ApiError, openLocal, revealLocal } from "../../shared/http"; +import { ApiError, revealLocal } from "../../shared/http"; import { cancelJob, deleteJob, loadDownloadSettings, loadJobs, pauseJob, resumeJob, saveDownloadSettings, updateConcurrency, type DownloadJob } from "./api"; const props = defineProps<{ focusId: string }>(); @@ -228,11 +228,6 @@ async function resume(job: DownloadJob) { } } -async function openFile(job: DownloadJob) { - const opened = await openLocal(job.csvPath).catch(() => false); - if (!opened) message.info(job.csvPath); -} - async function openDir(job: DownloadJob) { const revealed = await revealLocal(job.csvPath).catch(() => false); if (!revealed) message.info(job.csvPath); @@ -377,7 +372,6 @@ async function removeJob(job: DownloadJob, files: boolean) { 继续 - 打开 @@ -505,9 +499,6 @@ async function removeJob(job: DownloadJob, files: boolean) {
- - {{ statusLabel(job) }} -