1808837298@qq.com 1 год назад
Родитель
Сommit
f07ae8139b
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      web/src/components/LogsTable.js

+ 3 - 0
web/src/components/LogsTable.js

@@ -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 (