fix: Fixing the display of conversation time during dialogue
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
wangdan-fit2cloud 2025-11-11 17:09:18 +08:00 committed by CaptainB
parent 7468bfd43f
commit 923f3f1f5e
4 changed files with 20 additions and 19 deletions

View File

@ -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)

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {