打印/下载
使用

Menu 菜单栏

import wmMenu from '@/components/menu'
<wm-menu ref="Menus" :data="menus" :defaultActive="menusActive" @select="menuClick"></wm-menu>
  • data: (String) //数据: [{title:'', ico:'', children:[{title:'', ico:''}]}]
  • defaultActive: (String) //默认选择: [0,1]
  • select: (Event) //返回选择: pos[0,0]
  • effect: (String) //样式: plain、dark
{{copy}}