Commit 594ceae1 authored by zhanglw's avatar zhanglw

解决方案与服务

parent 1737f143
......@@ -9,7 +9,7 @@ import { filterAsyncRouter } from '@/store/modules/permission'
NProgress.configure({ showSpinner: false })// NProgress Configuration
const whiteList = ['/login', '/backlogin', '/home', '/product', '/supplier', '/project', '/course']// 免登录路由白名单
const whiteList = ['/login', '/backlogin', '/home', '/product', '/supplier', '/project', '/course', 'information']// 免登录路由白名单
const backUrlList = ['/dashboard', '/system', '/monitor', '/sys-tools', '/backstage']// 后台路由
router.beforeEach((to, from, next) => {
......
......@@ -76,6 +76,14 @@ export const constantRouterMap = [
},
hidden: true
},
{
path: '/information',
meta: { title: '行业资讯', noCache: true },
component: (resolve) => {
return require(['@/views/homepage/information/index'], resolve)
},
hidden: true
},
{
path: '/backstage',
component: Layout,
......
......@@ -10,7 +10,7 @@ export default {
data() {
return {
menus: [
{ name: '首页', url: '/home' }, { name: '优质产品', url: '/product' }, { name: '优质供应商', url: '/supplier' }, { name: '解决方案与服务', url: '/project' }, { name: '软件系统' }, { name: '专业培训', url: '/course' }, { name: '行业资讯' }, { name: '信息发布' }
{ name: '首页', url: '/home' }, { name: '优质产品', url: '/product' }, { name: '优质供应商', url: '/supplier' }, { name: '解决方案与服务', url: '/project' }, { name: '软件系统' }, { name: '专业培训', url: '/course' }, { name: '行业资讯', url: '/information' }, { name: '信息发布' }
],
currentMenuObj: null
}
......
......@@ -17,7 +17,7 @@ export default {
data() {
return {
menus: [
{ name: '首页', url: '/home' }, { name: '优质产品', url: '/product' }, { name: '优质供应商', url: '/supplier' }, { name: '解决方案与服务', url: '/project' }, { name: '软件系统' }, { name: '专业培训', url: '/course' }, { name: '行业资讯' }, { name: '信息发布' }
{ name: '首页', url: '/home' }, { name: '优质产品', url: '/product' }, { name: '优质供应商', url: '/supplier' }, { name: '解决方案与服务', url: '/project' }, { name: '软件系统' }, { name: '专业培训', url: '/course' }, { name: '行业资讯', url: '/information' }, { name: '信息发布' }
],
currentMenuObj: null
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment