@@ -8,6 +8,7 @@
mode="vertical"
router
:collapse="true"
+ style="width:115px"
>
<template v-for="(item, index) in routers">
<el-menu-item :index="item.path" :key="index">{{item.title}}</el-menu-item>
@@ -19,6 +19,11 @@ export const constantRoutes = [
name: 'report',
title: '日报',
component: () => import('@/views/report/report')
+ }, {
+ path: '/tree',
+ name: 'treeWork',
+ title: 'Tree树形控件',
+ component: () => import('@/views/report/report')
}
]