Skip to content

Commit

Permalink
feat(nav-menu): [nav-menu] Add custom selected mode (#2718)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiping0628 authored Dec 30, 2024
1 parent 79d2397 commit 6909756
Show file tree
Hide file tree
Showing 11 changed files with 913 additions and 16 deletions.
14 changes: 14 additions & 0 deletions examples/sites/demos/apis/nav-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@ export default {
},
mode: ['pc'],
pcDemo: 'before-skip-prevent'
},
{
name: 'default-active',
type: 'string',
defaultValue: '',
desc: {
'zh-CN': '自定义当前选中的菜单,data数据中必须设置id',
'en-US': 'Customize the currently selected menu, and the ID must be set in the data data'
},
mode: ['pc'],
pcDemo: 'selecte',
meta: {
stable: '3.21.0'
}
}
],
events: [],
Expand Down
Loading

0 comments on commit 6909756

Please sign in to comment.