src/views/layout/components/Main/index.vue
@@ -1,21 +1,21 @@ <template> <el-main> <NavBar /> <!-- <NavBar /> --> <div class="content"> <router-view></router-view> <!-- 底部区域 --> <MyFooter/> <!-- <MyFooter/> --> </div> </el-main> </template> <script> import MyFooter from "../Footer" // import MyFooter from "../Footer" import NavBar from "../NavBar" export default { name: "Main", components: { MyFooter, // MyFooter, NavBar } }; @@ -25,8 +25,8 @@ min-width: 1024px; padding: 0; .content { background-color: #f0f2f5; padding: 11px; height: 100%; } } </style>