mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
fix: log page error
This commit is contained in:
parent
d860289601
commit
f07ae8139b
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user