fix: 编辑场景滑动滚动条控制台报错
This commit is contained in:
parent
b3db4f3b60
commit
73bde25387
|
@ -1285,6 +1285,7 @@ export default {
|
||||||
handleScroll() {
|
handleScroll() {
|
||||||
let stepInfo = this.$refs.stepInfo;
|
let stepInfo = this.$refs.stepInfo;
|
||||||
let debugHeader = this.$refs.debugHeader;
|
let debugHeader = this.$refs.debugHeader;
|
||||||
|
if (debugHeader) {
|
||||||
let originWidth = debugHeader.clientWidth;
|
let originWidth = debugHeader.clientWidth;
|
||||||
if (stepInfo.getBoundingClientRect().top <= 178) {
|
if (stepInfo.getBoundingClientRect().top <= 178) {
|
||||||
this.isTop = true;
|
this.isTop = true;
|
||||||
|
@ -1294,6 +1295,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue