From 3e351815834c98188bd55a191bf31744404a9809 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Sat, 11 Apr 2026 13:13:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=BB=9A=E5=8A=A8=E6=9D=A1=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20#238?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/MsdDialog.vue | 294 +++++++++++++++++-------------- web/src/components/MsdSheet.vue | 216 +++++++++++++---------- 2 files changed, 282 insertions(+), 228 deletions(-) diff --git a/web/src/components/MsdDialog.vue b/web/src/components/MsdDialog.vue index 98a5f88a..88146247 100644 --- a/web/src/components/MsdDialog.vue +++ b/web/src/components/MsdDialog.vue @@ -28,7 +28,6 @@ import { Label } from '@/components/ui/label' import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group' import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group' import { Separator } from '@/components/ui/separator' -import { ScrollArea } from '@/components/ui/scroll-area' import { HardDrive, Upload, @@ -512,7 +511,7 @@ onUnmounted(() => { - + {{ t('msd.title') }} @@ -551,10 +550,11 @@ onUnmounted(() => { - + - - +
+ + {{ t('msd.images') }} @@ -566,15 +566,13 @@ onUnmounted(() => { -

+

{{ activeTab === 'images' ? t('msd.imagesDesc') : t('msd.driveDesc') }}

- - - + -
+
- + -
+
{{ t('msd.storageMode') }}: @@ -629,99 +627,101 @@ onUnmounted(() => {
-
-
+
+

{{ t('msd.imageList') }}

-
+
{{ t('msd.noImages') }}
-
-
-
-
- -
- - -

{{ image.name }}

-
- -

{{ image.name }}

-
-
-
- {{ formatBytes(image.size) }} - +
+
+
+
+
+ +
+ - - - {{ t('msd.largeFileWarning') }} - +

{{ image.name }}

-

{{ t('msd.largeFileTooltip') }}

+

{{ image.name }}

+
+ {{ formatBytes(image.size) }} + + + + + {{ t('msd.largeFileWarning') }} + + + +

{{ t('msd.largeFileTooltip') }}

+
+
+
-
-
- - - +
-
+

{{ t('msd.systemAvailable') }}: {{ formatBytes(systemStore.diskSpace.available) }}

@@ -729,10 +729,9 @@ onUnmounted(() => {
- - + - - + +
@@ -1102,3 +1103,28 @@ onUnmounted(() => { + + diff --git a/web/src/components/MsdSheet.vue b/web/src/components/MsdSheet.vue index ff67a5b9..985f2c28 100644 --- a/web/src/components/MsdSheet.vue +++ b/web/src/components/MsdSheet.vue @@ -18,7 +18,6 @@ import { Input } from '@/components/ui/input' import { Switch } from '@/components/ui/switch' import { Label } from '@/components/ui/label' import { Separator } from '@/components/ui/separator' -import { ScrollArea } from '@/components/ui/scroll-area' import { Dialog, DialogContent, @@ -294,8 +293,8 @@ onMounted(async () => { + +