fill objs when return alert event

This commit is contained in:
UlricQin 2021-07-22 23:30:12 +08:00
parent 2d15445482
commit 0f7a81ff11
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ func alertEventGets(c *gin.Context) {
}
func alertEventGet(c *gin.Context) {
renderData(c, AlertEvent(urlParamInt64(c, "id")), nil)
ae := AlertEvent(urlParamInt64(c, "id"))
dangerous(ae.FillObjs())
renderData(c, ae, nil)
}
func alertEventDel(c *gin.Context) {