📝 更新文档

This commit is contained in:
muwoo 2021-12-23 10:15:35 +08:00
parent 024aace801
commit 1cac93f1d2
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
module.exports = { module.exports = {
title: 'Rubick', title: 'Rubick',
description: '你的开源桌面插件应用', description: '你的开源桌面插件应用',
base: '/', base: '/rubick2/',
themeConfig: { themeConfig: {
themeColor: { themeColor: {
blue: "#2196f3", blue: "#2196f3",

View File

@ -48,7 +48,7 @@ type 为 "text"、"regex"、 "over" 时, payload 值为进入插件时的主
* `callback` Function * `callback` Function
每当插件从前台进入到后台时,uTools 将会主动调用这个方法。 每当插件从前台进入到后台时,rubick 将会主动调用这个方法。
## 窗口交互 ## 窗口交互
@ -111,7 +111,7 @@ rubick.setSubInput(({ text }) => {
#### 示例 #### 示例
```js ```js
rubick.setSubInputValue('uTools') rubick.setSubInputValue('rubick')
``` ```
## 系统 ## 系统
@ -226,7 +226,7 @@ id: "demo2", ok: true, rev: "2-7857b2801bc0303d2cc0bb82e8afd796"
*/ */
``` ```
### utools.db.allDocs(key) ### rubick.db.allDocs(key)
* `key` String | Array * `key` String | Array
* `返回` Array 执行该方法将会获取所有数据库文档,如果传入字符串,则会返回以字符串开头的文档,也可以传入指定 ID 的数组,不传入则为获取所有文档。 * `返回` Array 执行该方法将会获取所有数据库文档,如果传入字符串,则会返回以字符串开头的文档,也可以传入指定 ID 的数组,不传入则为获取所有文档。