mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-07-06 00:03:18 +08:00
Merge 2af2a376b0691085c6af5114430bca5d1e620f4d into c7e5fd70cdfb2faacdd3da59119f583fa326e8fc
This commit is contained in:
commit
28c8d11f59
@ -16,7 +16,7 @@ contextBridge.exposeInMainWorld('ipcRenderer', {
|
|||||||
},
|
},
|
||||||
invoke(...args: Parameters<typeof ipcRenderer.invoke>) {
|
invoke(...args: Parameters<typeof ipcRenderer.invoke>) {
|
||||||
const [channel, ...omit] = args
|
const [channel, ...omit] = args
|
||||||
ipcRenderer.invoke(channel, ...omit)
|
return ipcRenderer.invoke(channel, ...omit)
|
||||||
},
|
},
|
||||||
|
|
||||||
// You can expose other APTs you need here.
|
// You can expose other APTs you need here.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user