types(Sidebar): use tsx (#8121)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user