fix: 修复因在编辑界面点击撤销或重做导致的Tab页布局变化问题

This commit is contained in:
wangjiahao 2024-07-29 11:13:02 +08:00
parent b27d67dd57
commit d3a7696025

View File

@ -134,6 +134,7 @@ const handleMouseDown = e => {
} }
const canvasInit = (isFistLoad = true) => { const canvasInit = (isFistLoad = true) => {
if (canvasActive.value) {
renderState.value = true renderState.value = true
setTimeout(function () { setTimeout(function () {
if (canvasOut.value) { if (canvasOut.value) {
@ -151,6 +152,7 @@ const canvasInit = (isFistLoad = true) => {
snapshotStore.recordSnapshotCache('renderChart') snapshotStore.recordSnapshotCache('renderChart')
} }
}, 500) }, 500)
}
} }
const canvasSizeInit = () => { const canvasSizeInit = () => {