types(Sidebar): use tsx (#8121)

This commit is contained in:
neverland
2021-02-10 11:14:50 +08:00
committed by GitHub
parent 3d0e6d661e
commit 692631968d
8 changed files with 43 additions and 33 deletions
+6 -6
View File
@@ -98,9 +98,9 @@ export default {
### Sidebar Events
| 事件名 | 说明 | 回调参数 |
| ------ | ---------------- | ----------------------- |
| change | 切换导航项时触发 | index: 当前导航项的索引 |
| 事件名 | 说明 | 回调参数 |
| ------ | ---------------- | --------------- |
| change | 切换导航项时触发 | _index: number_ |
### SidebarItem Props
@@ -116,9 +116,9 @@ export default {
### SidebarItem Events
| 事件名 | 说明 | 回调参数 |
| ------ | ---------- | ----------------------- |
| click | 点击时触发 | index: 当前导航项的索引 |
| 事件名 | 说明 | 回调参数 |
| ------ | ---------- | --------------- |
| click | 点击时触发 | _index: number_ |
### SidebarItem Slots