[ci skip]fix chinese incorrect words
This commit is contained in:
parent
ec46d57816
commit
387dd67b60
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
## 常见问题
|
||||
|
||||
这里是一些被经常问到的问题,再提 issue 之前请先看一下这里。
|
||||
这里是一些被经常问到的问题,在提 issue 之前请先看一下这里。
|
||||
|
||||
+ [Electron 常见问题](faq/electron-faq.md)
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ console.log(dialog.showOpenDialog({properties: ['openFile', 'openDirectory', 'mu
|
|||
* `detail` String - 额外信息.
|
||||
* `icon` [NativeImage](native-image.md)
|
||||
* `cancelId` Integer - 当用户关闭对话框的时候,不是通过点击对话框的button,就返回值.默认值为对应 "cancel" 或 "no" 标签button 的索引值, 或者如果没有这种button,就返回0. 在 macOS 和 Windows 上, "Cancel" button 的索引值将一直是 `cancelId`, 不管之前是不是特别指出的.
|
||||
* `noLink` Boolean - 在 Windows ,Electron 将尝试识别哪个button 是普通 button (如 "Cancel" 或 "Yes"), 然后再对话框中以链接命令(command links)方式展现其它的 button . 这能让对话框展示得很炫酷.如果你不喜欢这种效果,你可以设置 `noLink` 为 `true`.
|
||||
* `noLink` Boolean - 在 Windows ,Electron 将尝试识别哪个button 是普通 button (如 "Cancel" 或 "Yes"), 然后在对话框中以链接命令(command links)方式展现其它的 button . 这能让对话框展示得很炫酷.如果你不喜欢这种效果,你可以设置 `noLink` 为 `true`.
|
||||
* `callback` Function
|
||||
|
||||
展示 message box, 它会阻塞进程,直到 message box 关闭为止.返回点击按钮的索引值.
|
||||
|
|
|
@ -46,7 +46,7 @@ Windows 控制台:
|
|||
|
||||
## `ELECTRON_FORCE_WINDOW_MENU_BAR` _Linux_
|
||||
|
||||
不可再 Linux 上使用全局菜单栏.
|
||||
不可在 Linux 上使用全局菜单栏.
|
||||
|
||||
## `ELECTRON_HIDE_INTERNAL_MODULES`
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ app.on('ready', () => {
|
|||
|
||||
也就是说,它对于你使用过 Node.js 的 [HTTP](https://nodejs.org/api/http.html)/[HTTPS](https://nodejs.org/api/https.html) 模块来说是非常的相似的。
|
||||
|
||||
`net` API 只有在应用触发 `ready` 事件后才可以使用。如果再 `ready` 事件前尝试使用会抛出一个错误。
|
||||
`net` API 只有在应用触发 `ready` 事件后才可以使用。如果在 `ready` 事件前尝试使用会抛出一个错误。
|
||||
|
||||
## 方法
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue