Compare commits

..

2 Commits

1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-04 11:05:44 * @Date: 2023-01-04 11:05:44
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-19 14:52:24 * @LastEditTime: 2023-01-23 17:10:55
* @FilePath: \admin_system\src\layout\Index.vue * @FilePath: \admin_system\src\layout\Index.vue
* @Description: * @Description:
* *
@ -37,7 +37,8 @@ export default {
LayoutMain, LayoutMain,
}, },
computed: { computed: {
asideWidth() { asideWidth()
{
const collapse = this.$store.state.app.asideBarCollapse; const collapse = this.$store.state.app.asideBarCollapse;
return collapse === true ? "65px" : "180px"; return collapse === true ? "65px" : "180px";
@ -75,6 +76,6 @@ export default {
#layout-container-down { #layout-container-down {
height: calc(100vh - 50px); height: calc(100vh - 50px);
/* max-height: calc(100vh - 50px); */ max-height: calc(100vh - 50px);
} }
</style> </style>