mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-30 13:02:46 +08:00
微调
This commit is contained in:
parent
5c0c2e1f7f
commit
54790b5ea5
@ -89,9 +89,9 @@ export default {
|
||||
};
|
||||
Object.assign(cfw, ctx);
|
||||
cfw.onload = () => {
|
||||
this.frameHeight = cfw.document.body.innerText
|
||||
? cfw.document.documentElement.getBoundingClientRect().height
|
||||
: 0;
|
||||
let clientHeight =
|
||||
cfw.document.documentElement.getBoundingClientRect().height;
|
||||
this.frameHeight = clientHeight === 20 ? 0 : clientHeight;
|
||||
this.$emit("frameLoad", this.frameHeight);
|
||||
};
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user