Modify the background color of the navigation bar when the element is selected, you can set .el-menu-item.is-active selector background-color style attribute [] using! Important so that the greatest priority. as follows:
.el-menu-item.is-active {
background-color: #3370ff !important;
color: #fff;
span {
color: #fff !important;
}
}