mirror of
https://gitee.com/dromara/go-view.git
synced 2026-07-13 11:11:05 +08:00
Compare commits
No commits in common. "8a3b173013b652b7bd3451baded7e1feefa86c06" and "67e2e52ff5fd90af6aa64f3ac8cc9fcae157630d" have entirely different histories.
8a3b173013
...
67e2e52ff5
@ -159,11 +159,9 @@ const dragCanvas = (e: any) => {
|
||||
const canvasBox = () => {
|
||||
const layoutDom = document.getElementById('go-chart-edit-layout')
|
||||
if (layoutDom) {
|
||||
// 此处减去滚动条的宽度和高度
|
||||
const scrollW = 20
|
||||
return {
|
||||
height: layoutDom.clientHeight - scrollW,
|
||||
width: layoutDom.clientWidth - scrollW
|
||||
height: layoutDom.clientHeight - 25,
|
||||
width: layoutDom.clientWidth
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user