From 5a8c819c3556b8b7c8d7bbf86d054c73b49115e1 Mon Sep 17 00:00:00 2001 From: Lexcubia Date: Tue, 29 Apr 2025 16:34:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=B8=8D=E7=9F=A5=E9=81=93?= =?UTF-8?q?=E6=94=B9=E4=BA=86=E4=BB=80=E4=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursorrules | 3 + src/assets/vue.svg | 1 - .../settings/VoiceInputSettings.vue | 30 ++- src/mocks/data/chatModes.json | 23 --- src/mocks/modules/chat.js | 36 +++- src/router/index.js | 2 +- src/store/chat.js | 138 +++++-------- src/store/speak.js | 4 +- src/views/chat/ChatInterface.vue | 26 ++- src/views/chat/ChatModeSelector.vue | 181 +++++++++--------- src/views/{chat => }/test/TestApi.vue | 0 11 files changed, 209 insertions(+), 235 deletions(-) delete mode 100644 src/assets/vue.svg delete mode 100644 src/mocks/data/chatModes.json rename src/views/{chat => }/test/TestApi.vue (100%) diff --git a/.cursorrules b/.cursorrules index 8f269a0..1119f00 100644 --- a/.cursorrules +++ b/.cursorrules @@ -21,6 +21,7 @@ alwaysApply: true - src/ - assets/ # 静态资源文件 - components/ # 公共组件 + - layouts/ # 布局组件 - views/ # 页面视图组件 - router/ # 路由配置 - store/ # Pinia状态管理 @@ -44,6 +45,7 @@ alwaysApply: true - 组件内使用 `