fix: closeExecutionDetail

This commit is contained in:
teukkk 2025-07-16 11:18:34 +08:00
parent ab14cf2e9d
commit 8869cca9de

View File

@ -368,6 +368,7 @@ function newChat() {
paginationConfig.value.total = 0
currentRecordList.value = []
}
closeExecutionDetail()
currentChatId.value = 'new'
currentChatName.value = t('chat.createChat')
if (common.isMobile()) {
@ -432,6 +433,7 @@ const clickListHandle = (item: any) => {
currentRecordList.value = []
currentChatId.value = item.id
currentChatName.value = item.abstract
closeExecutionDetail()
if (currentChatId.value !== 'new') {
getChatRecord()