修改路由

master
夜笙歌 11 months ago
parent 645f028516
commit 02246495da

@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress.configure({ showSpinner: false }) NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register'] const whiteList = ['/login', '/register','/liner','/caseShell2','/foaming','/foaming2','/pourInto','/finalAssembly','/scanDown','/week','/model']
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
NProgress.start() NProgress.start()

@ -92,16 +92,16 @@ export const constantRoutes = [
}, },
{ {
path: '', path: '',
hidden: true,
component: BoardIndex, component: BoardIndex,
redirect: 'Board', redirect: 'board',
name: 'Board',
meta: { meta: {
title: "看板管理", title: "看板管理",
icon: "chart", icon: "chart",
}, },
children: [ children: [
{ {
path: 'Liner', path: 'liner',
component: () => import('@/views/board/liner/index'), component: () => import('@/views/board/liner/index'),
name: 'Liner', name: 'Liner',
meta: {title: '内胆', icon: '404',} meta: {title: '内胆', icon: '404',}
@ -168,6 +168,7 @@ export const constantRoutes = [
}, },
{ {
path: '', path: '',
hidden: true,
component: ModelIndex, component: ModelIndex,
redirect: 'model', redirect: 'model',
meta: { meta: {

Loading…
Cancel
Save