doc: 文档更新

This commit is contained in:
lee 2020-10-10 01:02:05 +08:00
parent 07635d68c0
commit c1cfb94011
4 changed files with 570 additions and 131 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,8 @@
- 可以通过 json 格式的配置实现同时匹配关键字、窗口、文件甚至图片
- 可以实现指定文件数量、窗口类等
- json 格式配置和插件开发的 features.cmds 一致
- 配置处可以点击旁边的按钮全屏,方便填写 json 格式的配置
- quickcommand.showTextAera 新增一个参数可以设置默认文本值
### BUG FIX

File diff suppressed because one or more lines are too long

View File

@ -192,9 +192,10 @@ quickcommand.setTimeout(()=>{
}, 2000)
```
####`showTextAera(placeholder)`
####`showTextAera(placeholder, value)`
- placeholder: String | undefined 文本框占位符
- value: String | undefined 默认的文本值
- 返回: Promise
- text: String 文本框的文本
@ -458,5 +459,3 @@ console.log(`主输入框匹配的文本为${text}`)
- ~~db~~
- ~~removeFeature~~
- ~~setFeature~~