perf: 优化预览拖拽交互

This commit is contained in:
奔跑的面条 2023-07-09 17:06:35 +08:00
parent 006b79f21e
commit 232c8deb10

View File

@ -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'