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:
@@ -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('加载项目失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user