1808837298@qq.com преди 2 години
родител
ревизия
f3c240d600
променени са 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 (