fix: 修复工作流对话,无法显示回答内容
This commit is contained in:
parent
7369231690
commit
6102c71307
@ -370,7 +370,7 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
|
|||||||
*/
|
*/
|
||||||
function getSourceDetail(row: any) {
|
function getSourceDetail(row: any) {
|
||||||
logApi.getRecordDetail(id || props.appId, row.chat_id, row.record_id, loading).then((res) => {
|
logApi.getRecordDetail(id || props.appId, row.chat_id, row.record_id, loading).then((res) => {
|
||||||
const exclude_keys = ['answer_text', 'id']
|
const exclude_keys = ['answer_text', 'id', 'answer_text_list']
|
||||||
Object.keys(res.data).forEach((key) => {
|
Object.keys(res.data).forEach((key) => {
|
||||||
if (!exclude_keys.includes(key)) {
|
if (!exclude_keys.includes(key)) {
|
||||||
row[key] = res.data[key]
|
row[key] = res.data[key]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user