Skip to content

Commit

Permalink
fix: mention 最近使用文件修改
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyongli committed Sep 26, 2018
1 parent 468fc76 commit a567edb
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions document/mention.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ mention.on(Mention.events.HIDE, () => {})
| ------------------- | --------------- | ------------------ |
| `code` | `Number` | 错误编码,正常为0 |
| `data` | `object` | 接口实际返回值 |
| `data.file.children` | `File[]` | 最近使用文件列表 |
| `data` | `File[]` | 最近使用文件列表 |

* File

Expand All @@ -141,19 +141,15 @@ mention.on(Mention.events.HIDE, () => {})
``` JSON
{
"code": 0,
"data": {
"file": {
"children": [
{
"id": 0,
"guid": "string",
"name": "string",
"type": "string",
"updated_at": "2018-08-20T12:56:14.519Z"
}
]
"data": [
{
"id": 0,
"guid": "string",
"name": "string",
"type": "string",
"updated_at": "2018-08-20T12:56:14.519Z"
}
}
]
}
```

Expand Down

0 comments on commit a567edb

Please sign in to comment.