mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Fixing the display of conversation time during dialogue
This commit is contained in:
parent
ecdbeaad73
commit
fc35a6b3ae
|
|
@ -583,16 +583,17 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
|
|||
if (props.chatId === 'new') {
|
||||
emit('refresh', chartOpenId.value)
|
||||
}
|
||||
if (props.type === 'debug-ai-chat') {
|
||||
getSourceDetail(chat)
|
||||
} else {
|
||||
if (
|
||||
props.applicationDetails &&
|
||||
(props.applicationDetails.show_exec || props.applicationDetails.show_source)
|
||||
) {
|
||||
getSourceDetail(chat)
|
||||
}
|
||||
}
|
||||
getSourceDetail(chat)
|
||||
// if (props.type === 'debug-ai-chat') {
|
||||
// getSourceDetail(chat)
|
||||
// } else {
|
||||
// if (
|
||||
// props.applicationDetails &&
|
||||
// (props.applicationDetails.show_exec || props.applicationDetails.show_source)
|
||||
// ) {
|
||||
// getSourceDetail(chat)
|
||||
// }
|
||||
// }
|
||||
})
|
||||
.finally(() => {
|
||||
ChatManagement.close(chat.id)
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ defineExpose({
|
|||
line-height: 24px;
|
||||
&.active {
|
||||
background: var(--el-color-primary-light-9);
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
color: var(--el-color-primary);
|
||||
font-weight: 500;
|
||||
&:hover {
|
||||
|
|
@ -87,7 +87,7 @@ defineExpose({
|
|||
}
|
||||
}
|
||||
&:hover {
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
background: var(--app-text-color-light-1);
|
||||
}
|
||||
&.is-active {
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ onUnmounted(() => {
|
|||
margin-bottom: 4px;
|
||||
&.active {
|
||||
background: var(--el-color-primary-light-9);
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
color: var(--el-color-primary);
|
||||
font-weight: 500;
|
||||
&:hover {
|
||||
|
|
@ -385,7 +385,7 @@ onUnmounted(() => {
|
|||
}
|
||||
}
|
||||
&:hover {
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
background: var(--app-text-color-light-1);
|
||||
}
|
||||
&.is-active {
|
||||
|
|
|
|||
|
|
@ -160,12 +160,12 @@ const handleSharedNodeClick = () => {
|
|||
padding: 10px 8px;
|
||||
font-weight: 400;
|
||||
&:hover {
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
background: var(--app-text-color-light-1);
|
||||
}
|
||||
}
|
||||
.all-mode-active {
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
color: var(--el-color-primary);
|
||||
font-weight: 500 !important;
|
||||
background: var(--el-color-primary-light-9);
|
||||
|
|
@ -185,7 +185,7 @@ const handleSharedNodeClick = () => {
|
|||
background: none;
|
||||
&:hover {
|
||||
background: var(--app-text-color-light-1);
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
}
|
||||
}
|
||||
:deep(.el-collapse-item) {
|
||||
|
|
@ -211,7 +211,7 @@ const handleSharedNodeClick = () => {
|
|||
margin-bottom: 4px;
|
||||
&.active {
|
||||
background: var(--el-color-primary-light-9);
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
color: var(--el-color-primary);
|
||||
font-weight: 500;
|
||||
&:hover {
|
||||
|
|
@ -219,7 +219,7 @@ const handleSharedNodeClick = () => {
|
|||
}
|
||||
}
|
||||
&:hover {
|
||||
border-radius: var();
|
||||
border-radius: var(--app-border-radius-small);
|
||||
background: var(--app-text-color-light-1);
|
||||
}
|
||||
&.is-active {
|
||||
|
|
|
|||
Loading…
Reference in New Issue