正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -446,6 +446,9 @@ func getChanceSelfChecks(chanceInfo *models.Chance) []ChanceSelfCheckData { | @@ -446,6 +446,9 @@ func getChanceSelfChecks(chanceInfo *models.Chance) []ChanceSelfCheckData { | ||
446 | selfchecks := []ChanceSelfCheckData{} | 446 | selfchecks := []ChanceSelfCheckData{} |
447 | mSelfChecks := chanceInfo.GetSelfCheckData() | 447 | mSelfChecks := chanceInfo.GetSelfCheckData() |
448 | for _, v := range mSelfChecks { | 448 | for _, v := range mSelfChecks { |
449 | + if len(v.Answer) == 0 { | ||
450 | + continue | ||
451 | + } | ||
449 | m := ChanceSelfCheckData{ | 452 | m := ChanceSelfCheckData{ |
450 | Title: v.CheckItem, | 453 | Title: v.CheckItem, |
451 | Result: v.Answer, | 454 | Result: v.Answer, |
-
请 注册 或 登录 后发表评论