[P1] JSON解析错误被静默吞掉 - 建议添加错误日志 #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
在
QuestionForm.vue中解析显示条件 JSON 时,使用了空的 catch 块,会静默吞掉解析错误,导致问题难以排查。代码位置:
frontend/src/views/prison/question/QuestionForm.vue:659-667影响
建议修复
同样的问题存在于
parseOptions函数(第 548-556 行),虽然有 return [] 但建议添加日志。优先级
P1 - 中
标签
bug frontend error-handling
状态更新
优先级: P1 - 中
当前状态: 尚未修复
建议在后续迭代中处理。
此 Issue 由代码审查生成,记录在 Gitea 以便跟踪。