Closed imaxing closed 2 years ago
拷贝楼下的代码,解决 Home.vue
.menu-expanded { flex: 0 0 180px; width: 180px; .el-menu { width: 100% !important; } .el-submenu .el-menu-item { min-width: 0px !important; } }
.menu-expanded { flex: 0 0 230px; width: 230px; .el-menu { width: 100% !important; } .el-submenu .el-menu-item { min-width: 0px !important; } }
v-show改成v-if 有效