mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-09 06:54:11 +08:00
更新文档
This commit is contained in:
parent
0ea8c4cf65
commit
25c4741530
File diff suppressed because one or more lines are too long
@ -244,12 +244,13 @@ quickcommand.showMessageBox("这是一段3s后自动消失的失败提示", "err
|
||||
|
||||
- title: String | undefined 提示的标题
|
||||
- 返回: Promise
|
||||
- confirmed: Boolean | undefined 是否点击了确定按钮
|
||||
|
||||
显示一个确认框
|
||||
|
||||
```js
|
||||
quickcommand.showConfirmBox().then(() => {
|
||||
console.log('点击了确定')
|
||||
quickcommand.showConfirmBox().then(confirmed => {
|
||||
confirmed && console.log('点击了确定')
|
||||
})
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user