mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-17 16:45:21 +00:00
login.html不能通过window.open, 不然会有问题
This commit is contained in:
@@ -1559,9 +1559,11 @@ function userMenu() {
|
||||
this.switchAccount = new gui.MenuItem({
|
||||
label: 'Switch account',
|
||||
click: function(e) {
|
||||
window.open('login.html');
|
||||
win.close();
|
||||
// location.href = 'login.html';
|
||||
// window.open('login.html');
|
||||
// win.close();
|
||||
|
||||
// 这样, 不能window.open(), 不然needle有问题
|
||||
location.href = 'login.html';
|
||||
}
|
||||
});
|
||||
this.theme = new gui.MenuItem({
|
||||
|
Reference in New Issue
Block a user