feat: 完善前端功能,添加爬虫页面和项目分页

- 新增 CrawlerView 爬虫页面
- 完善 HomeView 分页展示(9个/页)
- 更新 ProjectCard 组件图标
- 优化 API 客户端和类型定义
- 重构样式文件结构到独立目录

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Developer
2026-03-18 10:45:32 +08:00
parent 68453cead8
commit a1342b7634
14 changed files with 471 additions and 34 deletions

View File

@@ -205,7 +205,8 @@ const fetchFiles = async () => {
loading.value = true
try {
const res = await fileApi.list(projectId.value)
files.value = res.data.files || []
// API returns array directly via interceptor
files.value = res || []
} catch (error) {
files.value = []
} finally {