From 5ef483c830b75fb8a646b02ec32e70c3abc130b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com> Date: Mon, 26 Jan 2026 02:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E7=8B=AC=E7=AB=8B?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.vue | 5 + web/src/components/DeviceTest.vue | 192 +++++++++- web/src/components/FileSystem.vue | 559 ++++++++++++++++++++++++++++++ 3 files changed, 750 insertions(+), 6 deletions(-) create mode 100644 web/src/components/FileSystem.vue diff --git a/web/src/App.vue b/web/src/App.vue index 3b213d4..927be5b 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -5,6 +5,7 @@

Go Desk

+ @@ -24,6 +25,9 @@ + + +
@@ -110,6 +114,7 @@ import DeviceTest from './components/DeviceTest.vue' import DbCli from './views/db-cli/index.vue' import ThemeToggle from './components/ThemeToggle.vue' import UpdatePanel from './components/UpdatePanel.vue' +import FileSystem from './components/FileSystem.vue' const activeTab = ref('db-cli') const showUpdateModal = ref(false) diff --git a/web/src/components/DeviceTest.vue b/web/src/components/DeviceTest.vue index 16663c5..b652b56 100644 --- a/web/src/components/DeviceTest.vue +++ b/web/src/components/DeviceTest.vue @@ -63,6 +63,26 @@ 浏览 列出目录 + + + + + + + {{ fav.name }} + + + + @@ -78,6 +98,14 @@ {{ item.is_dir ? '📁' : '📄' }} {{ item.name }} + + {{ isFavorite(item.path) ? '⭐' : '☆' }} +