1:代码高亮
在路由中,处于激活状态的路由,自动多两个class
.is-active {
background-color: $menuText !important;
span{
color: $menuActiveText !important;
}
.svg-icon{
color: $menuActiveText !important;
}
}
// $menuText 是定义的颜色
2如何设置页面标题
document.title = '标题内容'