Merge pull request #11212 from dataease/pr@dev-v2@refactor_tab-redo

fix: 修复因在编辑界面点击撤销或重做导致的Tab页布局变化问题
This commit is contained in:
王嘉豪 2024-07-29 11:13:45 +08:00 committed by GitHub
commit 99e990eb5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {
@ -152,6 +153,7 @@ const canvasInit = (isFistLoad = true) => {
} }
}, 500) }, 500)
} }
}
const canvasSizeInit = () => { const canvasSizeInit = () => {
nextTick(() => { nextTick(() => {