Commit 238e0efa authored by 罗超's avatar 罗超

1

parent 51acf130
......@@ -781,6 +781,7 @@ let getLoginWindow = function() {
})
}
let getMainWinodw = function(isLoad) {
if (!mainWindow || mainWindow.isDestroyed()) {
mainWindow = new BrowserWindow({
transparent: systemPreferences.isAeroGlassEnabled(),
......@@ -799,6 +800,7 @@ let getMainWinodw = function(isLoad) {
mainWindow.hide()
e.preventDefault()
})
}
if (isLoad == 0) {
mainWindow.loadURL(mainUrl)
......@@ -806,7 +808,7 @@ let getMainWinodw = function(isLoad) {
mainWindow.show()
mainWindow.setAlwaysOnTop(true)
mainWindow.setAlwaysOnTop(false)
mainWindow.webContents.openDevTools(true);
//getNoticeWindows()
})
}
......@@ -955,12 +957,14 @@ let getAddNewUserWinodes = function() {
width: 500,
height: 430,
skipTaskbar: true,
alwaysOnTop: true
alwaysOnTop: true,
webPreferences: { webSecurity: false }
})
addNewUserWinodes.loadURL(addnewuserUrl)
addNewUserWinodes.setMenu(null)
addNewUserWinodes.once('ready-to-show', () => {
addNewUserWinodes.show()
addNewUserWinodes.webContents.openDevTools(true);
})
} else {
addNewUserWinodes.focus()
......
......@@ -221,7 +221,7 @@ export default {
top: 0px;
right: 0px;
text-align: right;
height: 24px !important;
}
.forward-msg .split {
position: absolute;
......
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