mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: closeExecutionDetail
This commit is contained in:
parent
ab14cf2e9d
commit
8869cca9de
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue