From ae03fa55e5c51b5fbb5eaa67912aeda26cd79721 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 29 May 2026 16:47:43 +0800 Subject: [PATCH 1/2] fix(Smart Questioning): When the output chart is viewed in full screen, it displays the chat list and the icon for creating a new chat. --- frontend/src/views/chat/chat-block/ChartBlock.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chat/chat-block/ChartBlock.vue b/frontend/src/views/chat/chat-block/ChartBlock.vue index b544b739..af751487 100644 --- a/frontend/src/views/chat/chat-block/ChartBlock.vue +++ b/frontend/src/views/chat/chat-block/ChartBlock.vue @@ -52,7 +52,7 @@ const { copy } = useClipboard({ legacy: true }) const loading = ref(false) const { t } = useI18n() const addViewRef = ref(null) -const emits = defineEmits(['exitFullScreen']) +const emits = defineEmits(['exitFullScreen', 'enterFullScreen']) const dataObject = computed<{ fields: Array @@ -199,7 +199,15 @@ function reloadChart() { const dialogVisible = ref(false) +function setHiddenSidebarBtnZIndex(value: string) { + const sidebarBtns = document.querySelectorAll('.hidden-sidebar-btn') + sidebarBtns.forEach((btn) => { + ;(btn as HTMLElement).style.zIndex = value + }) +} + function openFullScreen() { + setHiddenSidebarBtnZIndex('0') dialogVisible.value = true } @@ -209,6 +217,7 @@ function closeFullScreen() { function onExitFullScreen() { dialogVisible.value = false + setHiddenSidebarBtnZIndex('11') } const sqlShow = ref(false) From 961accde853a4d9ff523e8c62ed0159811d2d8cb Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 29 May 2026 16:48:51 +0800 Subject: [PATCH 2/2] fix(Smart Questioning): When the output chart is viewed in full screen, it displays the chat list and the icon for creating a new chat. --- frontend/src/views/chat/chat-block/ChartBlock.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/chat/chat-block/ChartBlock.vue b/frontend/src/views/chat/chat-block/ChartBlock.vue index af751487..5f99adf8 100644 --- a/frontend/src/views/chat/chat-block/ChartBlock.vue +++ b/frontend/src/views/chat/chat-block/ChartBlock.vue @@ -52,7 +52,7 @@ const { copy } = useClipboard({ legacy: true }) const loading = ref(false) const { t } = useI18n() const addViewRef = ref(null) -const emits = defineEmits(['exitFullScreen', 'enterFullScreen']) +const emits = defineEmits(['exitFullScreen']) const dataObject = computed<{ fields: Array