Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
zgwit committed Jun 17, 2023
1 parent bcad5a5 commit 4003d1b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/scada/773.30d50be0eb31a54d.js

This file was deleted.

1 change: 1 addition & 0 deletions app/scada/773.90d6f59c28bd6eab.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/scada/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<style>body,html{height:100%;width:100%}html{-webkit-tap-highlight-color:transparent}body{color:#000000d9}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;--antd-wave-shadow-color:#1890ff;--scroll-bar:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;font-size:14px;font-variant:tabular-nums;line-height:1.5715;background-color:#fff;font-feature-settings:"tnum"}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0;color:#000000d9;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-variant:tabular-nums;line-height:1.5715;background-color:#fff;font-feature-settings:"tnum"}html{--antd-wave-shadow-color:#1890ff;--scroll-bar:0}html,body{width:100%;height:100%}</style><link rel="stylesheet" href="styles.efd419391341a21f.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.efd419391341a21f.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime.f3fb29107ee442c5.js" type="module"></script><script src="polyfills.e08942a78eb34b48.js" type="module"></script><script src="main.e24bfc12376d05eb.js" type="module"></script>
<script src="runtime.76adeb65d88afbae.js" type="module"></script><script src="polyfills.e08942a78eb34b48.js" type="module"></script><script src="main.e24bfc12376d05eb.js" type="module"></script>

</body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion src/app/viewer/window/window.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,17 @@ export class WindowComponent {
//this._url = san.bypassSecurityTrustResourceUrl("http://image.baidu.com")
}

load(event:any) {
load(event: any) {
console.log('iframe load', event)
const win = this.iframe.nativeElement.contentWindow
this.title = win.document.title
//可能没有加载完
setTimeout(() => {
this.title = win.document.title
}, 500)
setTimeout(() => {
this.title = win.document.title
}, 2000)

}
}

0 comments on commit 4003d1b

Please sign in to comment.