fix(dev-server): 修复开发服务器和前端兼容性问题
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

修复内容:
1. 修复 dev_server.rs 编译错误 - 使用 Vec::new() 替代数组转换
2. 修复 pipeline-client.ts - 添加 Tauri 运行时检测和开发服务器 fallback
3. 更新 troubleshooting.md - 添加开发服务器使用说明

测试结果:
- 所有前端模块正常加载
- 开发服务器 API 响应正确
- 类型检查通过
This commit is contained in:
iven
2026-03-26 18:10:55 +08:00
parent 85bf47bebb
commit 9ee23e444c
8 changed files with 394 additions and 381 deletions

View File

@@ -1 +1 @@
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s