<el-submenu index="5" popper-class='menu1'> </el-submenu>
<style lang="scss">
.menu1{
width: 500px !important;
height: 550px !important;
overflow: auto;
background-color: black;
}
</style>
大坑!css样式一定要写在APP.vue里面才能生效
(APP.vue里面写的是全局样式)