Vue notes modify the deep style of element component

You can use /deep/ and> together to specify the elements that need to be changed, as follows:

.el-menu /deep/ .is-active > .left-main-menu {
    
    
    font-weight: 900;
  }

Guess you like

Origin blog.csdn.net/qq_39139322/article/details/103241849