From 96ea246a9a118560b34ad27901ccdfc065ecc2e7 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 25 Dec 2025 10:46:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E7=82=B9=E5=87=BB=E5=9B=BE=E8=A1=A8=E6=97=B6?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0=E4=B8=AD=E5=AD=98=E5=9C=A8=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-frontend/src/views/chart/components/editor/index.vue | 2 +- core/core-frontend/src/views/chart/components/js/util.ts | 4 ++++ core/core-frontend/src/views/dashboard/MobileConfigPanel.vue | 2 +- core/core-frontend/src/views/dashboard/index.vue | 4 ---- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index d8da9aa414..1e1a7c892f 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -1775,7 +1775,7 @@ const setCacheId = debounce(() => { watch( () => curComponent.value, val => { - if (!val || !!previewHeight.value) return + if (!val || !!previewHeight.value || mobileInPc) return calcEle() }, { immediate: true } diff --git a/core/core-frontend/src/views/chart/components/js/util.ts b/core/core-frontend/src/views/chart/components/js/util.ts index 9b6e6d0365..86454cbce0 100644 --- a/core/core-frontend/src/views/chart/components/js/util.ts +++ b/core/core-frontend/src/views/chart/components/js/util.ts @@ -1173,3 +1173,7 @@ export const randomString = (length: number): string => { } return result } + +export const handleEmptyDataStrategy = (x, y) => { + return [x, y] +} diff --git a/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue b/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue index 5ecb06672f..d53612f758 100644 --- a/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue +++ b/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue @@ -529,7 +529,7 @@ const save = () => { width: 8px; height: 1px; position: absolute; - bottom: 0; + bottom: -1px; left: 0; background: #1f232926; } diff --git a/core/core-frontend/src/views/dashboard/index.vue b/core/core-frontend/src/views/dashboard/index.vue index 227add0b7c..719a829b8a 100644 --- a/core/core-frontend/src/views/dashboard/index.vue +++ b/core/core-frontend/src/views/dashboard/index.vue @@ -250,16 +250,12 @@ onMounted(async () => { const canvasCache = wsCache.get('DE-DV-CATCH-' + resourceId) if (canvasCache) { canvasCacheOutRefShow.value = true - console.log(canvasCache) nextTick(() => { - console.log(canvasCacheOutRef.value) setTimeout(() => { - console.log(canvasCacheOutRef.value) canvasCacheOutRef.value?.dialogInit({ canvasType: 'dashboard', resourceId: resourceId }) }, 300) }) } else { - console.log('initLocalCanvasData...') initLocalCanvasData(() => { // do init })