!177 update src/views/chart/ContentEdit/components/EditRule/index.vue.

Merge pull request !177 from xlys999/N/A
This commit is contained in:
奔跑的面条 2023-07-08 10:42:13 +00:00 committed by Gitee
commit 2dc12b1f0b

View File

@ -159,9 +159,11 @@ const dragCanvas = (e: any) => {
const canvasBox = () => {
const layoutDom = document.getElementById('go-chart-edit-layout')
if (layoutDom) {
//
const scrollW = 20
return {
height: layoutDom.clientHeight - 25,
width: layoutDom.clientWidth
height: layoutDom.clientHeight - scrollW,
width: layoutDom.clientWidth - scrollW
}
}
return {