Commit 397555dd authored by 张伯涛's avatar 张伯涛

修改

parent 313e8265
......@@ -20,10 +20,12 @@ const permission = {
return new Promise(resolve => {
// 向后端请求路由数据
// getInfo().then(res => {
const accessedRoutes = filterAsyncRouter(res.data.menus[1].children)
const accessedRoutes = filterAsyncRouter(res.data.menus[0].children)
console.log('进来了', accessedRoutes)
for (let i = 0, l = res.data.menus[1].children.length; i < l; i++) {
res.data.menus[1].children[i].showFather = 'false'
for (let i = 0, l = res.data.menus[0].children.length; i < l; i++) {
if (res.data.menus[0].children[i].path === '/entry') {
res.data.menus[0].children[i].showFather = 'false'
}
}
if (accessedRoutes[0]) {
const firstChild = getFirstChild(accessedRoutes[0])
......
......@@ -163,7 +163,7 @@ export default {
justify-content: center;
align-items: center;
height: 100%;
background-image: url("../../assets/image/bg.png");
background-image: url("../../assets/image/newBG.jpg");
background-size: cover;
.companyTitle{
position: absolute;
......
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