[P0] 问卷系统存在循环调用API的性能问题 #1
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?
问题描述
在
QuestionList.vue的savePartitions函数中,保存分区设置时使用了嵌套循环逐个更新问题,每个问题都会触发一次 API 请求。代码位置:
frontend/src/views/prison/questionnaire/components/QuestionList.vue:475-492影响
onPartitionDragEnd和onQuestionDragEnd函数建议修复
推荐方案一,示例:
优先级
P0 - 高
标签
bug performance frontend
修复状态:已修复 ✅
修复版本:
d4cb9960(master)修复内容:
POST /prison/question/batch-update性能提升:
请手动关闭此 Issue。