mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-09 15:43:41 +08:00
fix: log page error
This commit is contained in:
@@ -325,6 +325,9 @@ const LogsTable = () => {
|
|||||||
title: '详情',
|
title: '详情',
|
||||||
dataIndex: 'content',
|
dataIndex: 'content',
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
|
if (record.other === '') {
|
||||||
|
record.other = '{}'
|
||||||
|
}
|
||||||
let other = JSON.parse(record.other);
|
let other = JSON.parse(record.other);
|
||||||
if (other == null) {
|
if (other == null) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user