fix: 面板操作日志显示优化 (#1454)

pull/1464/head
ssongliu 2023-06-27 16:45:59 +08:00 committed by GitHub
parent 11a58fde91
commit d44231a0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ func OperationLog() gin.HandlerFunc {
}
}
}
record.DetailEN = operationDic.FormatEN
record.DetailZH = operationDic.FormatZH
record.DetailEN = strings.ReplaceAll(operationDic.FormatEN, "[]", "")
record.DetailZH = strings.ReplaceAll(operationDic.FormatZH, "[]", "")
writer := responseBodyWriter{
ResponseWriter: c.Writer,