fix: 开多个窗口编辑场景样式错乱
This commit is contained in:
parent
a36ea9d67a
commit
344aca268d
|
@ -1272,7 +1272,9 @@ export default {
|
|||
let originWidth = debugHeader.clientWidth;
|
||||
if (stepInfo.getBoundingClientRect().top <= 178) {
|
||||
this.isTop = true;
|
||||
debugHeader.style.width = originWidth + 'px';
|
||||
if (originWidth > 0) {
|
||||
debugHeader.style.width = originWidth + 'px';
|
||||
}
|
||||
} else {
|
||||
this.isTop = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue