|
|
@@ -305,7 +305,7 @@ export const getAgentChatList = async (id: string, userId: string): Promise<any[
|
|
|
}
|
|
|
|
|
|
try {
|
|
|
- json.jsonData = item.jsonData ? JSON.parse(decodeURIComponent(item.jsonData)) : null
|
|
|
+ json.jsonData = item.jsonData !== 'undefined' && item.jsonData !== null ? JSON.parse(decodeURIComponent(item.jsonData)) : null
|
|
|
// 从 jsonData 中读取 syncTranscriptionText 值
|
|
|
if (json.jsonData && json.jsonData.syncTranscriptionText !== undefined) {
|
|
|
json.syncTranscriptionText = json.jsonData.syncTranscriptionText
|