1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

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

This commit is contained in:
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

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,