新增站点地图静态页面,项目新增ems router文件、components文件、mixin文件、scss文件和view文件
This commit is contained in:
19
src/router/ems.js
Normal file
19
src/router/ems.js
Normal file
@ -0,0 +1,19 @@
|
||||
import Layout from "@/layout/index.vue";
|
||||
|
||||
const ems = [
|
||||
{
|
||||
path: '/zddt',
|
||||
component: Layout,
|
||||
redirect: 'zddt',
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: () => import('@/views/ems/zddt/index'),
|
||||
name: 'zddt',
|
||||
meta: { title: '站点地图', icon: 'guide' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
export default ems
|
@ -1,5 +1,6 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import ems from './ems'//EMS管理系统routers引用
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
@ -87,7 +88,9 @@ export const constantRoutes = [
|
||||
meta: { title: '个人中心', icon: 'user' }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
// EMS管理系统routers
|
||||
...ems
|
||||
]
|
||||
|
||||
// 动态路由,基于用户权限动态去加载
|
||||
|
Reference in New Issue
Block a user