feat(frontend): 优化页面功能和 UI

- 添加模型配置页面 (ModelSettingsView.vue)
- 优化首页项目列表显示和删除功能 (HomeView.vue)
- 优化项目详情页 (ProjectView.vue)
- 优化项目设置页 (Settings.vue)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Developer
2026-03-17 17:29:11 +08:00
parent 66d251dcc4
commit 2b2e1a67c8
4 changed files with 1060 additions and 1043 deletions

View File

@@ -76,7 +76,8 @@ const isActive = (path) => route.path.includes(path)
const fetchProject = async () => {
try {
const res = await projectApi.get(id.value)
project.value = res.data
// New format: returns project directly
project.value = res
} catch (error) {
ElMessage.error('加载项目失败')
}