|
|
@ -342,11 +342,11 @@ function setScrollBottom() { |
|
|
|
|
|
|
|
|
function confirmReturn(item,index){ |
|
|
function confirmReturn(item,index){ |
|
|
DeleteChatList(item.chatId).then(res=>{ |
|
|
DeleteChatList(item.chatId).then(res=>{ |
|
|
const index = autoProcess.value.autoArray.indexOf("item.interrupt.robot"); |
|
|
const index1 = autoProcess.value.autoArray.indexOf("item.interrupt.robot"); |
|
|
if (index !== -1) { |
|
|
if (index1 !== -1) { |
|
|
autoProcess.value.autoArray.splice(index, 1); |
|
|
autoProcess.value.autoArray.splice(index1, 1); |
|
|
} |
|
|
} |
|
|
chatList.value.splice(index, chatList.value.length - index); |
|
|
chatList.value.splice(index); |
|
|
let reqData = { |
|
|
let reqData = { |
|
|
"user_id": cache.local.get("username"), |
|
|
"user_id": cache.local.get("username"), |
|
|
"session_id": Cookies.get("chatSessionId"), |
|
|
"session_id": Cookies.get("chatSessionId"), |
|
|
|