fix: 开多个窗口编辑场景样式错乱
This commit is contained in:
parent
25ddb59527
commit
c2ee3613da
|
@ -1290,7 +1290,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