src/views/index.vue
@@ -6,9 +6,7 @@ <menuView /> </div> <div class="rightBox"> <div> <router-view /> </div> <router-view /> </div> </div> </div> @@ -68,6 +66,13 @@ .leftBox { background: #fff; width:80px; flex-shrink: 0; box-sizing: border-box; } .rightBox{ width:100%; height:100%; flex:1; } } </style>