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 })