注释掉
This commit is contained in:
parent
28b5a131fd
commit
b794d55cd7
|
@ -110,7 +110,7 @@ const savaDataStore = () => {
|
||||||
if(!toolState.isToolWin){
|
if(!toolState.isToolWin){
|
||||||
toolState.isPdfWin=false
|
toolState.isPdfWin=false
|
||||||
toolState.showBoardAll=true //恢复默认值
|
toolState.showBoardAll=true //恢复默认值
|
||||||
ipcRenderer.invoke('tool-sphere:reset') //重置tool状态
|
// ipcRenderer.invoke('tool-sphere:reset') //重置tool状态
|
||||||
ipcRenderer.send('open-PDF:minimize')
|
ipcRenderer.send('open-PDF:minimize')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -145,7 +145,7 @@ const savaDataStore = () => {
|
||||||
Promise.all(promises).then(res=>{
|
Promise.all(promises).then(res=>{
|
||||||
toolState.isPdfWin=false
|
toolState.isPdfWin=false
|
||||||
toolState.showBoardAll=true //恢复默认值
|
toolState.showBoardAll=true //恢复默认值
|
||||||
ipcRenderer.invoke('tool-sphere:reset') //重置tool状态
|
// ipcRenderer.invoke('tool-sphere:reset') //重置tool状态
|
||||||
ipcRenderer.send('open-PDF:minimize')
|
ipcRenderer.send('open-PDF:minimize')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -251,7 +251,7 @@ const eventHandles = (type, win) => {
|
||||||
const on = {
|
const on = {
|
||||||
onClosed: () => {
|
onClosed: () => {
|
||||||
Remote.ipcMain.removeHandler('tool-sphere:set:ignore', setIgnore)
|
Remote.ipcMain.removeHandler('tool-sphere:set:ignore', setIgnore)
|
||||||
Remote.ipcMain.removeHandler('tool-sphere:reset')
|
// Remote.ipcMain.removeHandler('tool-sphere:reset')
|
||||||
// Remote.ipcMain.removeAllListeners() // 移除所有监听事件
|
// Remote.ipcMain.removeAllListeners() // 移除所有监听事件
|
||||||
// 设置状态(再次设置-防止未设置到)
|
// 设置状态(再次设置-防止未设置到)
|
||||||
if(toolState.isToolWin) toolState.isToolWin = false
|
if(toolState.isToolWin) toolState.isToolWin = false
|
||||||
|
|
Loading…
Reference in New Issue