From 487ccf880e46a648d643e63b538e3a38f5f9a5f9 Mon Sep 17 00:00:00 2001 From: yubaoquan Date: Sun, 14 Apr 2024 17:48:09 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=B8=8D=E8=A6=81=E5=9C=A8=E5=A4=A7?= =?UTF-8?q?=E9=87=8F=E9=81=8D=E5=8E=86=E4=B8=AD=E4=BD=BF=E7=94=A8=20toolti?= =?UTF-8?q?p,=20=E5=BE=88=E5=AE=B9=E6=98=93=E6=8A=8A=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8D=A1=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common-header/common-header.vue | 1 - .../src/components/file-list/file-list.vue | 12 ++------ .../scan-progress/scan-progress.vue | 18 ++++++++---- .../components/scan-progress/use-progress.ts | 28 +++++++++++++++++++ src/renderer/src/views/dutor-view.vue | 14 ++++++++-- 5 files changed, 56 insertions(+), 17 deletions(-) diff --git a/src/renderer/src/components/common-header/common-header.vue b/src/renderer/src/components/common-header/common-header.vue index b78576b..520b763 100644 --- a/src/renderer/src/components/common-header/common-header.vue +++ b/src/renderer/src/components/common-header/common-header.vue @@ -72,7 +72,6 @@ const languages = ref([ onMounted(async () => { const isDarkFromMain = await window.api.getIsDark(); - console.info(`isDarkFromMain: ${isDarkFromMain}`); setTheme(isDarkFromMain); }); diff --git a/src/renderer/src/components/file-list/file-list.vue b/src/renderer/src/components/file-list/file-list.vue index 5200cd3..2740c4c 100644 --- a/src/renderer/src/components/file-list/file-list.vue +++ b/src/renderer/src/components/file-list/file-list.vue @@ -4,15 +4,12 @@ - - - +
{{ hash.slice(0, 20) }}
{{ file.name }} - {{ file.path }} - {{ file.path }} - + {{ file.path }}