Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Update ipc-renderer.md #2107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/zh-CN/docs/api/ipc-renderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

Expand Down