mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:41:32 +00:00
Fix debug info
This commit is contained in:
parent
e77489aa3b
commit
e0025e9451
@ -118,7 +118,6 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
|
||||
reloadIframe() {
|
||||
setTimeout(() => {
|
||||
console.log('reload timeout');
|
||||
this.webiframe.nativeElement.contentWindow.location.reload(true);
|
||||
});
|
||||
}
|
||||
@ -147,12 +146,10 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
iframeLoad(): void {
|
||||
if (this.webiframe) {
|
||||
this.actualIframeUrl = this.webiframe.nativeElement.contentWindow.frames.location.pathname;
|
||||
console.log('load');
|
||||
}
|
||||
}
|
||||
|
||||
changeIframeURL() {
|
||||
this.webiframe.nativeElement.contentWindow.frames.location.pathname = this.actualIframeUrl;
|
||||
console.log('change url');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user