Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
c34193ca
Commit
c34193ca
authored
Mar 22, 2018
by
Alan Lu
Committed by
杨奕
Mar 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Menu: fix default-openeds description (#10316)
which should be indexes of the sub-menu
parent
4a6bd309
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/docs/en-US/menu.md
examples/docs/en-US/menu.md
+1
-1
examples/docs/zh-CN/menu.md
examples/docs/zh-CN/menu.md
+1
-1
No files found.
examples/docs/en-US/menu.md
View file @
c34193ca
...
...
@@ -304,7 +304,7 @@ Vertical NavMenu could be collapsed.
| text-color | text color of Menu (hex format) | string | — | #303133 |
| active-text-color | text color of currently active menu item (hex format) | string | — | #409EFF |
| default-active | index of currently active menu | string | — | — |
| default-openeds | array that contains
key
s of currently active sub-menus | Array | — | — |
| default-openeds | array that contains
indexe
s of currently active sub-menus | Array | — | — |
| unique-opened | whether only one sub-menu can be active | boolean | — | false |
| menu-trigger | how sub-menus are triggered, only works when
`mode`
is 'horizontal' | string | — | hover |
| router | whether
`vue-router`
mode is activated. If true, index will be used as 'path' to activate the route action | boolean | — | false |
...
...
examples/docs/zh-CN/menu.md
View file @
c34193ca
...
...
@@ -305,7 +305,7 @@
| text-color | 菜单的文字颜色(仅支持 hex 格式) | string | — | #303133 |
| active-text-color | 当前激活菜单的文字颜色(仅支持 hex 格式) | string | — | #409EFF |
| default-active | 当前激活菜单的 index | string | — | — |
| default-openeds | 当前打开的
sub-menu的 key 数组 | Array
| — | — |
| default-openeds | 当前打开的
sub-menu 的 index 的数组 | Array
| — | — |
| unique-opened | 是否只保持一个子菜单的展开 | boolean | — | false |
| menu-trigger | 子菜单打开的触发方式(只在 mode 为 horizontal 时有效) | string | — | hover |
| router | 是否使用 vue-router 的模式,启用该模式会在激活导航时以 index 作为 path 进行路由跳转 | boolean | — | false |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment