fix: chat avatar display problem
This commit is contained in:
parent
9750c6d605
commit
da03442be2
@ -359,6 +359,9 @@ function getDetail() {
|
|||||||
detail.value.tts_model_id = res.data.tts_model
|
detail.value.tts_model_id = res.data.tts_model
|
||||||
detail.value.tts_type = res.data.tts_type
|
detail.value.tts_type = res.data.tts_type
|
||||||
saveTime.value = res.data?.update_time
|
saveTime.value = res.data?.update_time
|
||||||
|
application.asyncGetAccessToken(id, loading).then((res: any) => {
|
||||||
|
detail.value = { ...detail.value, ...res.data }
|
||||||
|
})
|
||||||
workflowRef.value?.clearGraphData()
|
workflowRef.value?.clearGraphData()
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
workflowRef.value?.render(detail.value.work_flow)
|
workflowRef.value?.render(detail.value.work_flow)
|
||||||
|
|||||||
@ -693,6 +693,9 @@ function getDetail() {
|
|||||||
applicationForm.value.tts_type = res.data.tts_type
|
applicationForm.value.tts_type = res.data.tts_type
|
||||||
applicationForm.value.model_setting.no_references_prompt =
|
applicationForm.value.model_setting.no_references_prompt =
|
||||||
res.data.model_setting.no_references_prompt || '{question}'
|
res.data.model_setting.no_references_prompt || '{question}'
|
||||||
|
application.asyncGetAccessToken(id, loading).then((res: any) => {
|
||||||
|
applicationForm.value = { ...applicationForm.value, ...res.data }
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user