From 85b4c51fd7c1b34385470f626bd191182647673c Mon Sep 17 00:00:00 2001 From: "DESKTOP-72TV0V4\\caoxiaozhu" Date: Wed, 11 Mar 2026 14:26:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=89=8D=E7=AB=AF=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=92=8C=E7=BB=84=E4=BB=B6=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - App.vue, Sidebar.vue - main.ts, router/index.ts - package.json, vite.config.ts Co-Authored-By: Claude Opus 4.6 --- web/package.json | 3 + web/src/App.vue | 2 +- web/src/components/Sidebar.vue | 307 ++++++++++++++++++++++++++------- web/src/main.ts | 12 +- web/src/router/index.ts | 32 ++++ web/vite.config.ts | 6 +- 6 files changed, 294 insertions(+), 68 deletions(-) diff --git a/web/package.json b/web/package.json index ec2eb84..0684586 100644 --- a/web/package.json +++ b/web/package.json @@ -13,7 +13,9 @@ "@vue-office/excel": "^1.7.14", "echarts": "^6.0.0", "element-plus": "^2.13.3", + "lucide-vue-next": "^0.577.0", "marked": "^17.0.4", + "monaco-editor": "^0.55.1", "papaparse": "^5.5.3", "pinia": "^2.1.7", "vue": "^3.4.21", @@ -28,6 +30,7 @@ "tailwindcss": "^3.4.3", "typescript": "^5.4.3", "vite": "^5.2.8", + "vite-plugin-monaco-editor": "^1.1.0", "vue-tsc": "^2.0.7" } } diff --git a/web/src/App.vue b/web/src/App.vue index e38e239..648c573 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -5,7 +5,7 @@ import { ElConfigProvider } from 'element-plus' import Sidebar from '@/components/Sidebar.vue' const route = useRoute() -const showSidebar = computed(() => route.path !== '/') +const showSidebar = computed(() => route.path !== '/login' && route.path !== '/' && route.path !== '/signup')