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.

This commit is contained in:
dataeaseShu
2026-05-29 16:49:03 +08:00
committed by dataeaseShu
parent b972eeeb97
commit a692fba765
@@ -52,7 +52,7 @@ const { copy } = useClipboard({ legacy: true })
const loading = ref<boolean>(false)
const { t } = useI18n()
const addViewRef = ref(null)
const emits = defineEmits(['exitFullScreen'])
const emits = defineEmits(['exitFullScreen', 'enterFullScreen'])
const dataObject = computed<{
fields: Array<string>
@@ -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)