From fd6aad27f8eb05f10edff31bf732cade5d7531b9 Mon Sep 17 00:00:00 2001 From: cfq Date: Mon, 26 Jan 2026 16:30:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E5=AE=BD=E5=BA=A6=E8=B0=83=E6=95=B4=E3=80=81=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A0=91=E6=8E=92=E5=BA=8F=E4=B8=8E=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E9=A1=B9=E6=98=BE=E7=A4=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 允许用户通过拖拽调整侧边栏宽度,并双击重置为默认宽度 - 文件树目录项现在按类型(目录优先)和名称(自然排序)自动排序 - 新增“显示/隐藏隐藏项”按钮,可过滤以“.”开头及“node_modules”的项 - 为编辑器、预览及整体应用统一设置字体大小变量,提升视觉一致性 - 移除未使用的导入以优化代码结构 --- src/App.vue | 112 +++++++++++++++++++++++++++++++-- src/components/Editor.vue | 2 +- src/components/FileTree.vue | 83 +++++++++++++++++++++--- src/components/Preview.vue | 5 +- src/composables/useConfig.js | 19 +++++- src/composables/useFileTree.js | 14 ++++- src/composables/useTheme.js | 1 + src/main.css | 6 ++ 8 files changed, 222 insertions(+), 20 deletions(-) diff --git a/src/App.vue b/src/App.vue index b83226a..a084257 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@