Skip to content

Commit 923f3f1

Browse files
wangdan-fit2cloudliuruibin
authored andcommitted
fix: Fixing the display of conversation time during dialogue
1 parent 7468bfd commit 923f3f1

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

ui/src/components/ai-chat/index.vue

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -583,16 +583,17 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
583583
if (props.chatId === 'new') {
584584
emit('refresh', chartOpenId.value)
585585
}
586-
if (props.type === 'debug-ai-chat') {
587-
getSourceDetail(chat)
588-
} else {
589-
if (
590-
props.applicationDetails &&
591-
(props.applicationDetails.show_exec || props.applicationDetails.show_source)
592-
) {
593-
getSourceDetail(chat)
594-
}
595-
}
586+
getSourceDetail(chat)
587+
// if (props.type === 'debug-ai-chat') {
588+
// getSourceDetail(chat)
589+
// } else {
590+
// if (
591+
// props.applicationDetails &&
592+
// (props.applicationDetails.show_exec || props.applicationDetails.show_source)
593+
// ) {
594+
// getSourceDetail(chat)
595+
// }
596+
// }
596597
})
597598
.finally(() => {
598599
ChatManagement.close(chat.id)

ui/src/components/common-list/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ defineExpose({
7979
line-height: 24px;
8080
&.active {
8181
background: var(--el-color-primary-light-9);
82-
border-radius: var();
82+
border-radius: var(--app-border-radius-small);
8383
color: var(--el-color-primary);
8484
font-weight: 500;
8585
&:hover {
8686
background: var(--el-color-primary-light-9);
8787
}
8888
}
8989
&:hover {
90-
border-radius: var();
90+
border-radius: var(--app-border-radius-small);
9191
background: var(--app-text-color-light-1);
9292
}
9393
&.is-active {

ui/src/components/folder-tree/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,15 +377,15 @@ onUnmounted(() => {
377377
margin-bottom: 4px;
378378
&.active {
379379
background: var(--el-color-primary-light-9);
380-
border-radius: var();
380+
border-radius: var(--app-border-radius-small);
381381
color: var(--el-color-primary);
382382
font-weight: 500;
383383
&:hover {
384384
background: var(--el-color-primary-light-9);
385385
}
386386
}
387387
&:hover {
388-
border-radius: var();
388+
border-radius: var(--app-border-radius-small);
389389
background: var(--app-text-color-light-1);
390390
}
391391
&.is-active {

ui/src/views/model/component/Provider.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ const handleSharedNodeClick = () => {
160160
padding: 10px 8px;
161161
font-weight: 400;
162162
&:hover {
163-
border-radius: var();
163+
border-radius: var(--app-border-radius-small);
164164
background: var(--app-text-color-light-1);
165165
}
166166
}
167167
.all-mode-active {
168-
border-radius: var();
168+
border-radius: var(--app-border-radius-small);
169169
color: var(--el-color-primary);
170170
font-weight: 500 !important;
171171
background: var(--el-color-primary-light-9);
@@ -185,7 +185,7 @@ const handleSharedNodeClick = () => {
185185
background: none;
186186
&:hover {
187187
background: var(--app-text-color-light-1);
188-
border-radius: var();
188+
border-radius: var(--app-border-radius-small);
189189
}
190190
}
191191
:deep(.el-collapse-item) {
@@ -211,15 +211,15 @@ const handleSharedNodeClick = () => {
211211
margin-bottom: 4px;
212212
&.active {
213213
background: var(--el-color-primary-light-9);
214-
border-radius: var();
214+
border-radius: var(--app-border-radius-small);
215215
color: var(--el-color-primary);
216216
font-weight: 500;
217217
&:hover {
218218
background: var(--el-color-primary-light-9);
219219
}
220220
}
221221
&:hover {
222-
border-radius: var();
222+
border-radius: var(--app-border-radius-small);
223223
background: var(--app-text-color-light-1);
224224
}
225225
&.is-active {

0 commit comments

Comments
 (0)