mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 10:20:16 -06:00
ResolveElectronWDIO: Resolve conflict between framework
This commit is contained in:
parent
051cc8d584
commit
126c45f500
@ -437,10 +437,10 @@ export class WindowHandler {
|
||||
windowExists(this.mainWindow)
|
||||
) {
|
||||
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
||||
await this.mainWebContents.loadURL(this.url, { userAgent });
|
||||
await this.mainWindow.loadURL('about:blank', { userAgent });
|
||||
this.mainWebContents.loadURL(this.url, { userAgent });
|
||||
this.mainWindow.loadURL('about:blank', { userAgent });
|
||||
} else {
|
||||
await this.mainWindow.loadURL(this.url, { userAgent });
|
||||
this.mainWindow.loadURL(this.url, { userAgent });
|
||||
this.mainWebContents = this.mainWindow.webContents;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user