From ed09611d02fcd083104b689dc5f92b8598fc8660 Mon Sep 17 00:00:00 2001 From: qingfeng1121 Date: Mon, 13 Oct 2025 15:14:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=92=8C=E7=BB=84=E4=BB=B6=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除冗余的index.vue文件,将其功能整合到MainLayout.vue - 修改LeftModule.vue中的菜单项文字从"文章"改为"目录" - 更新打字机效果的默认文本为测试内容 - 优化jsconfig.json格式 --- jsconfig.json | 1 + src/components/LeftModule.vue | 2 +- src/index.vue | 210 ---------------------------------- src/layouts/MainLayout.vue | 2 +- 4 files changed, 3 insertions(+), 212 deletions(-) delete mode 100644 src/index.vue diff --git a/jsconfig.json b/jsconfig.json index e0aad8a..045043e 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,4 +1,5 @@ { + "include": ["src/**/*"], "compilerOptions": { "paths": { diff --git a/src/components/LeftModule.vue b/src/components/LeftModule.vue index c17d96d..79336b2 100644 --- a/src/components/LeftModule.vue +++ b/src/components/LeftModule.vue @@ -23,7 +23,7 @@ - 文章 + 目录 diff --git a/src/index.vue b/src/index.vue deleted file mode 100644 index 76d2c28..0000000 --- a/src/index.vue +++ /dev/null @@ -1,210 +0,0 @@ - - - \ No newline at end of file diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 989f33d..6d1c4a3 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -78,7 +78,7 @@ const windowwidth = ref(true); const activeIndex = ref('/:type'); // 打字机效果相关 -const fullHeroText = '如果感到累了撸一管就好了'; +const fullHeroText = '测试打字机效果'; const heroText = ref(''); let heroIndex = 0; let heroTimer: number | undefined;