From c3e36dc8ee5e1ffad1241c23db9fe5062d9c811c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?=
<42510293+ziyujiahao@users.noreply.github.com>
Date: Wed, 13 Aug 2025 15:46:43 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=AF=8C=E6=96=87?=
=?UTF-8?q?=E6=9C=AC=E6=A0=B7=E5=BC=8F=20(#16701)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/custom-component/rich-text/DeRichTextView.vue | 1 -
core/core-frontend/src/views/dashboard/index.vue | 2 ++
core/core-frontend/src/views/data-visualization/index.vue | 5 ++---
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue
index 2aad46016d..cd94a4fae8 100644
--- a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue
+++ b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue
@@ -8,7 +8,6 @@
@click="onClick"
:style="richTextStyle"
>
- ---language=={{ language }}
{
)
}
onMounted(async () => {
+ document.body.style.overflow = 'hidden'
dvMainStore.setCurComponent({ component: null, index: null })
dvMainStore.setHiddenListStatus(false)
snapshotStore.initSnapShot()
@@ -318,6 +319,7 @@ const doRecoverToPublished = () => {
}
onUnmounted(() => {
+ document.body.style.overflow = ''
window.removeEventListener('storage', eventCheck)
window.removeEventListener('message', winMsgHandle)
})
diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue
index 861ceeec41..90b4170003 100644
--- a/core/core-frontend/src/views/data-visualization/index.vue
+++ b/core/core-frontend/src/views/data-visualization/index.vue
@@ -377,6 +377,7 @@ const newWindowFromDiv = ref(false)
let p = null
const XpackLoaded = () => p(true)
onMounted(async () => {
+ document.body.style.overflow = 'hidden'
dvMainStore.setCurComponent({ component: null, index: null })
snapshotStore.initSnapShot()
if (window.location.hash.includes('#/dvCanvas')) {
@@ -466,6 +467,7 @@ onMounted(async () => {
})
onUnmounted(() => {
+ document.body.style.overflow = ''
window.removeEventListener('storage', eventCheck)
window.removeEventListener('blur', releaseAttachKey)
eventBus.off('handleNew', handleNew)
@@ -688,9 +690,6 @@ eventBus.on('tabSort', tabSort)