From 232c8deb10cf0ccba47a71b9e985ae6e19070d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Sun, 9 Jul 2023 17:06:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=8B=96=E6=8B=BD=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/preview/hooks/useScale.hook.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/views/preview/hooks/useScale.hook.ts b/src/views/preview/hooks/useScale.hook.ts index 53b02d46..783d5ebb 100644 --- a/src/views/preview/hooks/useScale.hook.ts +++ b/src/views/preview/hooks/useScale.hook.ts @@ -31,8 +31,6 @@ export const useScale = (localStorageInfo: ChartEditStorageType) => { if (previewBoxDom) { previewBoxDom.style.overflow = 'unset' previewBoxDom.style.position = 'absolute' - previewBoxDom.style.top = '10px' - previewBoxDom.style.left = '20px' } if (entityDom) { entityDom.style.overflow = 'unset'