fix: Dialogue embedding to modify name (#2780)

This commit is contained in:
shaohuzhang1 2025-04-02 16:49:52 +08:00 committed by GitHub
parent 678a5ae4a5
commit 6cf91098d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -179,9 +179,8 @@ function editName(val: string, item: any) {
const obj = {
abstract: val
}
log.asyncPutChatClientLog(applicationDetail.value.id, item.id, obj, loading).then(() => {
const find = chatLogData.value.find((item: any) => item.id == item.id)
const find = chatLogData.value.find((row: any) => row.id === item.id)
if (find) {
find.abstract = val
}

View File

@ -176,7 +176,7 @@ function editName(val: string, item: any) {
}
log.asyncPutChatClientLog(applicationDetail.value.id, item.id, obj, loading).then(() => {
const find = chatLogData.value.find((item: any) => item.id == item.id)
const find = chatLogData.value.find((row: any) => row.id === item.id)
if (find) {
find.abstract = val
}