From e239c0c5eab4892f70458ba8f3cb7eb18417fa1e Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 7 Jun 2026 18:10:10 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=BC=E5=BC=8F=EF=BC=8C=E7=AE=80=E5=8C=96=E9=83=A8?= =?UTF-8?q?=E5=88=86=E9=80=BB=E8=BE=91=EF=BC=8C=E6=8F=90=E5=8D=87=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FileBrowser.vue | 9 +- src/components/ThemeCustomizer.vue | 8 +- src/components/cards/DownloadingCard.vue | 130 +++++++++---------- src/components/dialog/ReorganizeDialog.vue | 55 +++----- src/components/filebrowser/FileList.vue | 36 ++--- src/components/filebrowser/FileNavigator.vue | 14 +- src/styles/common.scss | 27 ++-- src/views/reorganize/FileBrowserView.vue | 41 +++--- src/views/system/ModuleTestView.vue | 13 +- 9 files changed, 153 insertions(+), 180 deletions(-) diff --git a/src/components/FileBrowser.vue b/src/components/FileBrowser.vue index 32d96598..898a8811 100644 --- a/src/components/FileBrowser.vue +++ b/src/components/FileBrowser.vue @@ -161,15 +161,15 @@ const isDragging = ref(false) const dragStartX = ref(0) const dragStartWidth = ref(0) -watch(sort, (val) => { +watch(sort, val => { localStorage.setItem(SORT_KEY, val) }) -watch(showDirTree, (val) => { +watch(showDirTree, val => { localStorage.setItem(SHOW_TREE_KEY, String(val)) }) -watch(navigatorWidth, (val) => { +watch(navigatorWidth, val => { localStorage.setItem(NAV_WIDTH_KEY, String(val)) }) @@ -182,7 +182,6 @@ const storagesArray = computed(() => { })) }) - // 方法 function loadingChanged(isLoading: number) { if (isLoading) loading.value++ @@ -272,7 +271,7 @@ function stopDrag() {