diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 66f4df0fc..02a18e4ec 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -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) diff --git a/ui/src/components/common-list/index.vue b/ui/src/components/common-list/index.vue index 124d81f84..652061f4b 100644 --- a/ui/src/components/common-list/index.vue +++ b/ui/src/components/common-list/index.vue @@ -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 { diff --git a/ui/src/components/folder-tree/index.vue b/ui/src/components/folder-tree/index.vue index b2a1f44d8..9af3c566a 100644 --- a/ui/src/components/folder-tree/index.vue +++ b/ui/src/components/folder-tree/index.vue @@ -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 { diff --git a/ui/src/views/model/component/Provider.vue b/ui/src/views/model/component/Provider.vue index a49604d7a..16b7c1af2 100644 --- a/ui/src/views/model/component/Provider.vue +++ b/ui/src/views/model/component/Provider.vue @@ -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 {