c83ae7ff by 任超

style:路由配置修改

1 parent 3054b6ee
...@@ -32,11 +32,7 @@ export const constantRoutes = [ ...@@ -32,11 +32,7 @@ export const constantRoutes = [
32 { 32 {
33 path: '/', 33 path: '/',
34 redirect: to => { 34 redirect: to => {
35 if (Vue.prototype.BASE_API.THEME == 'jg') { 35 return { path: `/${Vue.prototype.BASE_API.THEME}` }
36 return { path: '/jg' }
37 } else {
38 return { path: '/sb' }
39 }
40 }, 36 },
41 }, 37 },
42 // 监管首页 38 // 监管首页
......