Просмотр исходного кода

fix: log table unknown ws prop error

Xyfacai 1 год назад
Родитель
Сommit
afc1e92ed0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/src/components/LogsTable.js

+ 1 - 1
web/src/components/LogsTable.js

@@ -538,7 +538,7 @@ const LogsTable = () => {
           value: content,
           value: content,
         })
         })
       }
       }
-      if (other.ws) {
+      if (other?.ws) {
         expandDataLocal.push({
         expandDataLocal.push({
           key: '语音输入',
           key: '语音输入',
           value: other.audio_input,
           value: other.audio_input,