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/components/layout-container/index.vue b/ui/src/components/layout-container/index.vue index f02ff8729..8a791b96e 100644 --- a/ui/src/components/layout-container/index.vue +++ b/ui/src/components/layout-container/index.vue @@ -1,6 +1,9 @@ @@ -47,17 +92,34 @@ const showBack = computed(() => { &__left { position: relative; box-sizing: border-box; - transition: width 0.28s; + // transition: width 0.28s; width: var(--sidebar-width); - min-width: var(--sidebar-width); - box-sizing: border-box; + .splitter-bar-line { + z-index: 1; + position: absolute; + top: 0; + right: 0; + cursor: col-resize; + width: 4px; + height: 100%; + &.hover:after { + width: 1px; + height: 100%; + content: ''; + z-index: 2; + position: absolute; + right: -1px; + top: 0; + background: var(--el-color-primary); + } + } .collapse { position: absolute; top: 36px; right: -12px; box-shadow: 0px 5px 10px 0px var(--app-text-color-light-1); - z-index: 1; + z-index: 2; } .layout-container__left_content { diff --git a/ui/src/views/application/index.vue b/ui/src/views/application/index.vue index c81c5f26e..1e43f7db9 100644 --- a/ui/src/views/application/index.vue +++ b/ui/src/views/application/index.vue @@ -1,5 +1,5 @@