From 094455446de446acb398b23eed936034f44fceda Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Sun, 1 Dec 2024 20:08:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=BA=E5=AF=B8=E8=BE=83=E5=B0=8F=E7=9A=84?= =?UTF-8?q?=E7=94=BB=E5=B8=83=E6=B2=A1=E6=9C=89=E5=AE=9A=E4=BD=8D=E5=88=B0?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E7=82=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/common/DeRuler.vue | 1 + core/core-frontend/src/views/data-visualization/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/common/DeRuler.vue b/core/core-frontend/src/custom-component/common/DeRuler.vue index 6b1b074854..12eaad7ce0 100644 --- a/core/core-frontend/src/custom-component/common/DeRuler.vue +++ b/core/core-frontend/src/custom-component/common/DeRuler.vue @@ -188,6 +188,7 @@ defineExpose({ } .ruler-outer-scroll { + min-width: 1600px; display: flex; justify-content: center; } diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue index fcf9d35a51..ebbba8f1bc 100644 --- a/core/core-frontend/src/views/data-visualization/index.vue +++ b/core/core-frontend/src/views/data-visualization/index.vue @@ -142,7 +142,6 @@ const onMouseMove = e => { const walkY = y - startY canvasOut.value.wrapRef.scrollLeft = scrollLeft - walkX canvasOut.value.wrapRef.scrollTop = scrollTop - walkY - console.log('====onMouseMove==walkX=' + walkX + ';walkY=' + walkY) } // 禁用拖动 @@ -160,6 +159,7 @@ const contentStyle = computed(() => { } } else { return { + minWidth: '1600px', width: width * 1.5 + 'px', height: height * 1.5 + 'px' }