浏览代码

docs(api): Add missing APIs to dialog allowlist (#5858)

TomatoCake 2 年之前
父节点
当前提交
ff99a9bf74
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tooling/api/src/dialog.ts

+ 3 - 0
tooling/api/src/dialog.ts

@@ -14,6 +14,9 @@
  *     "allowlist": {
  *       "dialog": {
  *         "all": true, // enable all dialog APIs
+ *         "ask": true, // enable dialog ask API
+ *         "confirm": true, // enable dialog confirm API
+ *         "message": true, // enable dialog message API
  *         "open": true, // enable file open API
  *         "save": true // enable file save API
  *       }