mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-07-03 14:32:44 +08:00
修复html输出时页面高度异常的bug
This commit is contained in:
parent
8c111773f5
commit
f4ba9c5d76
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user