Commit d31ee403 authored by huangjie's avatar huangjie

*

parent a5ab329b
...@@ -90,12 +90,12 @@ ...@@ -90,12 +90,12 @@
iframeLoading() { iframeLoading() {
let iframeHeight = document.getElementById("companyIframe").clientHeight, number = 0 let iframeHeight = document.getElementById("companyIframe").clientHeight, number = 0
this.iframeTimer = setInterval(()=>{ this.iframeTimer = setInterval(()=>{
number ++ number = number+1000
if(document.getElementById("companyIframe").clientHeight != iframeHeight || number == 5000){ if(document.getElementById("companyIframe").clientHeight != iframeHeight || number == 3000){
this.loading = false this.loading = false
clearInterval(this.iframeTimer) clearInterval(this.iframeTimer)
} }
}) },1000)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment