vue element ui 导航刷新 is-active


   
        {{route.name}}
   

js:

routes: [
    { path: '/main/kdgadmin', name: '幼儿园管理', },
    { path: '/main/phyex', name: '体测', },

    ]

css:
.is-active{
        background: #a3212f;
        border-bottom: 0px solid transparent;
        color: #FFFFFF;
    }


转载于:https://www.cnblogs.com/yancongyang/p/7699316.html

你可能感兴趣的:(vue element ui 导航刷新 is-active)