diff --git a/core/core-frontend/src/views/copilot/index.vue b/core/core-frontend/src/views/copilot/index.vue index 8241342e49..1c11baf05f 100644 --- a/core/core-frontend/src/views/copilot/index.vue +++ b/core/core-frontend/src/views/copilot/index.vue @@ -335,6 +335,7 @@ const queryAnswer = (event?: KeyboardEvent) => { +
@@ -587,7 +588,7 @@ const queryAnswer = (event?: KeyboardEvent) => { .field-q { position: relative; height: 49px; - padding-left: 8px; + padding: 0 8px; &.open { max-height: 50%; @@ -624,8 +625,14 @@ const queryAnswer = (event?: KeyboardEvent) => { } .field-d { - max-height: calc(100% - 50px); - border-bottom: 1px solid rgba(31, 35, 41, 0.15); + max-height: calc(100% - 52px); + } + + .line-bottom { + background: rgba(31, 35, 41, 0.15); + height: 1px; + width: calc(100% - 16px); + margin-left: 8px; } } } diff --git a/core/core-frontend/src/views/visualized/data/datasource/index.vue b/core/core-frontend/src/views/visualized/data/datasource/index.vue index ed73706633..ca74e84f43 100644 --- a/core/core-frontend/src/views/visualized/data/datasource/index.vue +++ b/core/core-frontend/src/views/visualized/data/datasource/index.vue @@ -507,6 +507,9 @@ const listDs = () => { Object.assign(nodeInfo, cloneDeep(defaultInfo)) dfsDatasourceTree(state.datasourceTree, id) setTimeout(() => { + if (dsName.value) { + dsListTree.value.filter(dsName.value) + } dsListTree.value.setCurrentKey(nodeInfo.id, true) }, 100) }