Commit ca5d27bf authored by Medicean's avatar Medicean

(Fix:MenuBar) fix reload url

parent 5e0fa998
...@@ -148,7 +148,7 @@ class Menubar { ...@@ -148,7 +148,7 @@ class Menubar {
if (this.electron.BrowserWindow.getAllWindows().length > 1) { if (this.electron.BrowserWindow.getAllWindows().length > 1) {
return; return;
} }
this.mainWindow.webContents.loadURL('ant-views://index.html');//.bind(this.mainWindow.webContents) this.mainWindow.webContents.loadURL('ant-views://front/index.html');//.bind(this.mainWindow.webContents)
} }
}, { }, {
label: LANG['debug']['devtools'], label: LANG['debug']['devtools'],
...@@ -198,7 +198,7 @@ class Menubar { ...@@ -198,7 +198,7 @@ class Menubar {
if (this.electron.BrowserWindow.getAllWindows().length > 1) { if (this.electron.BrowserWindow.getAllWindows().length > 1) {
return; return;
} }
this.mainWindow.webContents.loadURL('ant-views://index.html'); this.mainWindow.webContents.loadURL('ant-views://front/index.html');
} }
}, { }, {
label: LANG['tray']['about'], label: LANG['tray']['about'],
......
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