Skip to content

Commit

Permalink
fix: log page error
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcium-Ion committed May 21, 2024
1 parent d860289 commit f07ae81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/components/LogsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ const LogsTable = () => {
title: '详情',
dataIndex: 'content',
render: (text, record, index) => {
if (record.other === '') {
record.other = '{}'
}
let other = JSON.parse(record.other);
if (other == null) {
return (
Expand Down

0 comments on commit f07ae81

Please sign in to comment.