|
@@ -39,7 +39,7 @@
|
|
|
@toggle="toggle"
|
|
|
/>
|
|
|
<!-- layout content -->
|
|
|
- <a-layout-content :style="{ height: '100%', margin: '24px 24px 0', paddingTop: fixedHeader ? '105px' : '0' }">
|
|
|
+ <a-layout-content :style="{ height: '100%', margin: '24px 24px 0', paddingTop: fixedHeader ? '64px' : '0' }">
|
|
|
<transition name="page-transition">
|
|
|
<route-view/>
|
|
|
</transition>
|
|
@@ -113,7 +113,8 @@ export default {
|
|
|
} else {
|
|
|
// 没有权限时只显示首页
|
|
|
const noqx = asyncRouterMap.find((item) => item.path === '/').children
|
|
|
- this.menus = [noqx.find(item => item.path === '/home')]
|
|
|
+ // this.menus = [noqx.find(item => item.path === '/home')]
|
|
|
+ this.menus = noqx
|
|
|
}
|
|
|
this.collapsed = !this.sidebarOpened
|
|
|
},
|