Commit 9b03c44c authored by wanghao's avatar wanghao

1 进入管理系统 强制刷新界面调整

parent dc1cde9c
...@@ -34,29 +34,29 @@ export const constantRoutes = [ ...@@ -34,29 +34,29 @@ export const constantRoutes = [
children: [ children: [
{ {
path: '/redirect/:path(.*)', path: '/redirect/:path(.*)',
component: (resolve) => import(['@/views/redirect'], resolve) component: (resolve) => require(['@/views/redirect'], resolve)
} }
] ]
}, },
{ {
path: '/bigScreen', path: '/bigScreen',
name: 'Screen', name: 'Screen',
component: () => import('@/views/screen/index.vue'), component: () => require('@/views/screen/index.vue'),
meta: { title: '数据看板界面' , noCache: true} meta: { title: '数据看板界面' , noCache: true}
}, },
{ {
path: '/login', path: '/login',
component: (resolve) => import(['@/views/login'], resolve), component: (resolve) => require(['@/views/login'], resolve),
hidden: true hidden: true
}, },
{ {
path: '/404', path: '/404',
component: (resolve) => import(['@/views/error/404'], resolve), component: (resolve) => require(['@/views/error/404'], resolve),
hidden: true hidden: true
}, },
{ {
path: '/401', path: '/401',
component: (resolve) => import(['@/views/error/401'], resolve), component: (resolve) => require(['@/views/error/401'], resolve),
hidden: true hidden: true
}, },
// 避免空路径,使用明确的路径 // 避免空路径,使用明确的路径
...@@ -67,7 +67,7 @@ export const constantRoutes = [ ...@@ -67,7 +67,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'index', path: 'index',
component: () => import('@/views/index'), component: () => require('@/views/index'),
name: '首页', name: '首页',
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true } meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
} }
...@@ -81,7 +81,7 @@ export const constantRoutes = [ ...@@ -81,7 +81,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'profile', path: 'profile',
component: (resolve) => import(['@/views/system/user/profile/index'], resolve), component: (resolve) => require(['@/views/system/user/profile/index'], resolve),
name: 'Profile', name: 'Profile',
meta: { title: '个人中心', icon: 'user' } meta: { title: '个人中心', icon: 'user' }
} }
...@@ -94,7 +94,7 @@ export const constantRoutes = [ ...@@ -94,7 +94,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'type/data/:dictId(\\d+)', path: 'type/data/:dictId(\\d+)',
component: (resolve) => import(['@/views/system/dict/data'], resolve), component: (resolve) => require(['@/views/system/dict/data'], resolve),
name: 'Data', name: 'Data',
meta: { title: '字典数据', icon: '' } meta: { title: '字典数据', icon: '' }
} }
...@@ -107,7 +107,7 @@ export const constantRoutes = [ ...@@ -107,7 +107,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'log', path: 'log',
component: (resolve) => import(['@/views/monitor/job/log'], resolve), component: (resolve) => require(['@/views/monitor/job/log'], resolve),
name: 'JobLog', name: 'JobLog',
meta: { title: '调度日志' } meta: { title: '调度日志' }
} }
...@@ -120,7 +120,7 @@ export const constantRoutes = [ ...@@ -120,7 +120,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'edit/:tableId(\\d+)', path: 'edit/:tableId(\\d+)',
component: (resolve) => import(['@/views/tool/gen/editTable'], resolve), component: (resolve) => require(['@/views/tool/gen/editTable'], resolve),
name: 'GenEdit', name: 'GenEdit',
meta: { title: '修改生成配置' } meta: { title: '修改生成配置' }
} }
......
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