c83ae7ff by 任超

style:路由配置修改

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