ffdfebaacf09a57b5cd63b8b0d91f6fdefd80561
根因:handleRowClick 中从 API 响应提取 items 时,const resp = res.data || res 将 resp 设为 ExamApply 对象(res.data 有值),导致 resp.items 为 undefined(ExamApply 对象没有 items 字段),items 实际位于 AjaxResult 顶层(res.items)。 修复:防御性提取 items,优先取 res.items(AjaxResult 顶层),兼容 resp.items 和 resp.data.items 的嵌套情况,确保明细数据能正确加载到 selectedItems 中。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
No description provided
Languages
Java
47.1%
Vue
45%
JavaScript
5%
Python
1.6%
HTML
0.5%
Other
0.7%