修复html输出时页面高度异常的bug

This commit is contained in:
fofolee 2024-05-09 10:36:22 +08:00
parent 8c111773f5
commit f4ba9c5d76

View File

@ -94,7 +94,7 @@ export default {
clientHeight = clientHeight === 20 ? 0 : clientHeight; clientHeight = clientHeight === 20 ? 0 : clientHeight;
this.frameHeight = Math.max( this.frameHeight = Math.max(
// //
this.getMaxElHeight(cfw.document), this.getMaxElHeight(cfw.document) || 0,
clientHeight clientHeight
); );
this.$emit("frameLoad", this.frameHeight); this.$emit("frameLoad", this.frameHeight);