style:路由配置修改
Showing
1 changed file
with
1 additions
and
5 deletions
... | @@ -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 | // 监管首页 | ... | ... |
-
Please register or sign in to post a comment