0.1.14 • Published 12 months ago
portal-layout v0.1.14
portal-layout
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
发包命令
npm run lib
npm publish
门户菜单工程
属性说明
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
menuList | 菜单 | Array | [] |
userName | 用户名 | String | "" |
title | 标题 | String | "" |
hideSidebar | 第一个菜单打开tab签固定在第一位 | Boolean | true |
属性传值示例
回调函数说明
before-click,添加tab签前的回调函数 menu-click,点击menu,添加tab的回调函数