更新 menu 文档
This commit is contained in:
parent
668a02a538
commit
1bda3dd8cd
@ -7,7 +7,7 @@
|
|||||||
::: demo
|
::: demo
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-menu v-model:selectedKey="selectedKey" theme="light" v-model:openKeys="openKeys">
|
<lay-menu v-model:selectedKey="selectedKey" v-model:openKeys="openKeys">
|
||||||
<lay-menu-item title="首页" id="1"></lay-menu-item>
|
<lay-menu-item title="首页" id="1"></lay-menu-item>
|
||||||
<lay-menu-item title="用户" id="2"></lay-menu-item>
|
<lay-menu-item title="用户" id="2"></lay-menu-item>
|
||||||
<lay-menu-item title="角色" id="3"></lay-menu-item>
|
<lay-menu-item title="角色" id="3"></lay-menu-item>
|
||||||
@ -178,6 +178,7 @@ export default {
|
|||||||
| ------------------- | ------ | ---- |
|
| ------------------- | ------ | ---- |
|
||||||
| v-model:selectedKey | 选中项 | -- |
|
| v-model:selectedKey | 选中项 | -- |
|
||||||
| v-model:openKeys | 打开项 | -- |
|
| v-model:openKeys | 打开项 | -- |
|
||||||
|
| theme | 菜单主题 | `dark` `light` |
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user