docs: Update Tree virtual scroll desc (#25375)

This commit is contained in:
二货机器人 2020-07-02 09:58:13 +08:00 committed by GitHub
parent 1f1c376b47
commit e3982e94f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -91,6 +91,12 @@ Before `3.4.0`: The number of treeNodes can be very large, but when `checkable=t
}
```
### Tree Methods
| Name | Description |
| ----------------- | ------------------------------------ |
| scrollTo({ key }) | Scroll to key item in virtual scroll |
## FAQ
### How to hide file icon when use showLine?

View File

@ -92,6 +92,12 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Xh-oWqg9k/Tree.svg
}
```
### Tree 方法
| 名称 | 说明 |
| ----------------- | ------------------------------- |
| scrollTo({ key }) | 虚拟滚动下,滚动到指定 key 条目 |
## FAQ
### 在 showLine 时,如何隐藏子节点图标?