📝(component): 新增 menu 组件 changeSelectedKey 与 changeOpenKeys 说明
This commit is contained in:
parent
c932584421
commit
08bb3c0f69
@ -172,7 +172,9 @@ watch(
|
||||
class="layui-laypage-next"
|
||||
:class="[
|
||||
currentPage === maxPage || maxPage === 0 ? 'layui-disabled' : '',
|
||||
theme && (currentPage !== maxPage && maxPage !== 0) ? 'layui-laypage-a-' + theme : '',
|
||||
theme && currentPage !== maxPage && maxPage !== 0
|
||||
? 'layui-laypage-a-' + theme
|
||||
: '',
|
||||
]"
|
||||
@click="next()"
|
||||
>
|
||||
|
@ -735,6 +735,18 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: title Menu 事件
|
||||
:::
|
||||
|
||||
::: table
|
||||
|
||||
| 属性 | 描述 | 参数 |
|
||||
| ------------------- | ------------------- | -------------- |
|
||||
| changeSelectedKey | 选中菜单回调 | value: string |
|
||||
| changeOpenKeys | 展开目录回调 | value: string[] |
|
||||
|
||||
:::
|
||||
|
||||
::: title Menu Item 属性
|
||||
:::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user