fix: 清理前端 console.log/warn/error 调试日志
- 移除 ProjectGeneration.tsx 中唯一的 console.error 调用 - 确保生产构建不包含调试日志 - 前端代码中已无任何 console.log/warn/error Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -161,8 +161,8 @@ const AutoArrangePanel: React.FC<{
|
||||
try {
|
||||
const data = await getEditPlans(projectId);
|
||||
setPlans(data);
|
||||
} catch (error) {
|
||||
console.error("Failed to fetch edit plans:", error);
|
||||
} catch {
|
||||
// 编排方案获取失败,静默处理
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user