diff --git a/src/models/alert_cur_event.go b/src/models/alert_cur_event.go index 407d373c..01ec4418 100644 --- a/src/models/alert_cur_event.go +++ b/src/models/alert_cur_event.go @@ -358,6 +358,12 @@ func AlertCurEventGetByIds(ids []int64) ([]*AlertCurEvent, error) { } err := DB().Where("id in ?", ids).Order("id desc").Find(&lst).Error + if err == nil { + for i := 0; i < len(lst); i++ { + lst[i].DB2FE() + } + } + return lst, err }