mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-16 16:04:56 +00:00
always loading....
This commit is contained in:
@@ -1 +1 @@
|
|||||||
{"version":"2.5","updatedTime":"2017-05-17T07:21:51.505Z"}
|
{"version":"2.5.2","updatedTime":"2017-11-29T07:21:51.505Z"}
|
@@ -1313,6 +1313,11 @@ var State = {
|
|||||||
// 先隐藏, 再resize, 再显示
|
// 先隐藏, 再resize, 再显示
|
||||||
// $('body').hide();
|
// $('body').hide();
|
||||||
// 延迟, 让body先隐藏, 效果先显示出来
|
// 延迟, 让body先隐藏, 效果先显示出来
|
||||||
|
function showBody() {
|
||||||
|
$('body').removeClass('init');
|
||||||
|
$("#mainMask").html("");
|
||||||
|
$("#mainMask").hide(0);
|
||||||
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (isMac()) {
|
if (isMac()) {
|
||||||
if (/login/.test(location.href)) {
|
if (/login/.test(location.href)) {
|
||||||
@@ -1321,12 +1326,10 @@ var State = {
|
|||||||
win.center();
|
win.center();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
showBody();
|
||||||
// $('body').show();
|
// setTimeout(function() {
|
||||||
$('body').removeClass('init');
|
// showBody();
|
||||||
$("#mainMask").html("");
|
// }, 100);
|
||||||
$("#mainMask").hide(0);
|
|
||||||
}, 100);
|
|
||||||
});
|
});
|
||||||
// end
|
// end
|
||||||
// 打开时,同步一下
|
// 打开时,同步一下
|
||||||
@@ -1378,7 +1381,6 @@ var State = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.recoverAfter(initedCallback);
|
this.recoverAfter(initedCallback);
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2082,6 +2084,11 @@ function userMenu(allUsers) {
|
|||||||
if (isMac() || debug) {
|
if (isMac() || debug) {
|
||||||
setMacTopMenu();
|
setMacTopMenu();
|
||||||
}
|
}
|
||||||
|
if (debug) {
|
||||||
|
setTimeout(function () {
|
||||||
|
gui.win.toggleDevTools();
|
||||||
|
}, 3000)
|
||||||
|
}
|
||||||
|
|
||||||
//-------------------
|
//-------------------
|
||||||
// 右键菜单
|
// 右键菜单
|
||||||
|
Reference in New Issue
Block a user