quickcommand.showConfirmBox

This commit is contained in:
fofolee
2022-04-02 01:06:47 +08:00
parent 1a1d7f160b
commit 3b87dce4fa
2 changed files with 21 additions and 5 deletions

View File

@@ -133,9 +133,10 @@ interface quickcommandApi {
* confirmed && console.log('点击了确定')
* })
* ```
* @param message 提示的内容
* @param title 提示的标题
*/
showConfirmBox(title?: string): Promise<boolean>;
showConfirmBox(message?: string, title?: string): Promise<boolean>;
/**
* 同步等待,会阻塞进程