From f7bb4a0926212535fd09f97a38c3a074e5fa8c90 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Tue, 4 Mar 2025 17:54:08 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF=E3=80=81?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20=E9=92=89=E9=92=89?=
=?UTF-8?q?=E5=85=A8=E5=B1=8F=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/data-visualization/canvas/DePreview.vue | 3 ---
.../src/components/visualization/common/DeFullscreen.vue | 4 ++--
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
index 5ad7fc8e6d..f43de15c96 100644
--- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
+++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
@@ -22,7 +22,6 @@ import EmptyBackground from '../../empty-background/src/EmptyBackground.vue'
import LinkOptBar from '@/components/data-visualization/canvas/LinkOptBar.vue'
import { isDesktop } from '@/utils/ModelUtil'
import { isMobile } from '@/utils/utils'
-import CanvasExtFullscreenBar from '@/components/visualization/CanvasExtFullscreenBar.vue'
const dvMainStore = dvMainStoreWithOut()
const { pcMatrixCount, curComponent, mobileInPc, canvasState, inMobile } = storeToRefs(dvMainStore)
const openHandler = ref(null)
@@ -505,8 +504,6 @@ defineExpose({
:canvas-style-data="canvasStyleData"
:component-data="baseComponentData"
>
-
-
{
}
}
+// 针对钉钉windows版无法退出全屏问题 这里主动退出
const handleKeydown = event => {
- console.log('FullScreen key: ' + event.key)
- if (event.key === 'Escape') {
+ if (event.key === 'Escape' && document.fullscreenElement) {
document.exitFullscreen()
}
}