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