From 0de47650b942065218819aebeae426d823c64255 Mon Sep 17 00:00:00 2001 From: Zhang Hang Date: Thu, 19 May 2022 14:50:36 +0800 Subject: [PATCH] Update ipc-renderer.md fix typo --- content/zh-CN/docs/api/ipc-renderer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/zh-CN/docs/api/ipc-renderer.md b/content/zh-CN/docs/api/ipc-renderer.md index 89dc98a99f039..7a25198a7d089 100644 --- a/content/zh-CN/docs/api/ipc-renderer.md +++ b/content/zh-CN/docs/api/ipc-renderer.md @@ -93,7 +93,7 @@ ipcMain.handle('some-name', async (event, someArgument) => { If you need to transfer a [`MessagePort`][] to the main process, use [`ipcRenderer.postMessage`](#ipcrendererpostmessagechannel-message-transfer). -如果你不需要回复此消息,请考虑使用 [`ipcRender.sent`](#ipcrenderersendchannel-args)。 +如果你不需要回复此消息,请考虑使用 [`ipcRender.send`](#ipcrenderersendchannel-args)。 ### `ipcRenderer.sendSync(channel, ...args)`