fix: 修复ResultModal数据提取时的agent调用错误
详细说明: - 修复getProjectInfo函数中seq.agent()的类型错误 - 添加兼容性处理,支持函数和对象两种数据格式 - 解决选择订单班后点击按钮导致页面崩溃的问题 - 修改文件: WorkflowPageV4.tsx (第934行) - 影响模块: ResultModal数据显示系统 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -174,7 +174,7 @@ function generateIndexPage() {
|
||||
<h2 class="text-2xl font-bold mb-6">已完成的订单班方案</h2>
|
||||
<div class="grid md:grid-cols-3 lg:grid-cols-4 gap-6 mb-12">
|
||||
${completedClasses.map(([key, config]) => `
|
||||
<div class="order-card bg-white rounded-lg p-6 shadow-md" onclick="location.href='/order-class/${key}'">
|
||||
<div class="order-card bg-white rounded-lg p-6 shadow-md" onclick="location.href='/order-class/${key}/'">
|
||||
<div class="text-3xl mb-3">${getClassIcon(key)}</div>
|
||||
<h3 class="font-bold text-lg mb-2">${config.name}</h3>
|
||||
<p class="text-sm text-gray-600 mb-3">${config.description}</p>
|
||||
|
||||
Reference in New Issue
Block a user