更新文档

This commit is contained in:
fofolee 2020-07-21 18:36:01 +08:00
parent 0ea8c4cf65
commit 25c4741530
2 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -244,12 +244,13 @@ quickcommand.showMessageBox("这是一段3s后自动消失的失败提示", "err
- title: String | undefined 提示的标题 - title: String | undefined 提示的标题
- 返回: Promise - 返回: Promise
- confirmed: Boolean | undefined 是否点击了确定按钮
显示一个确认框 显示一个确认框
```js ```js
quickcommand.showConfirmBox().then(() => { quickcommand.showConfirmBox().then(confirmed => {
console.log('点击了确定') confirmed && console.log('点击了确定')
}) })
``` ```