@@ -9,7 +9,6 @@
* {
margin: 0;
padding: 0;
- box-sizing: border-box;
}
html,
body {
@@ -4,6 +4,16 @@
<div class="main">
<div class="aside"><AsideVue></AsideVue></div>
<div class="section">
+ <div
+ style="
+ height: 52px;
+ width: 100%;
+ border: 1px solid red;
+ box-sizing: border-box;
+ "
+ >
+ {{ this.$store.state.titleFirst }}
+ </div>
<router-view></router-view>
</div>
@@ -50,6 +60,6 @@ export default {
.section {
width: 100%;
- overflow-y: scroll;
+ overflow: auto;
</style>
@@ -1,6 +1,6 @@
<template>
<el-menu
- style="width: 210px; height: 100%"
+ style="width: 220px; height: 100%"
default-active="2"
class="el-menu-vertical-demo"
@open="handleOpen"