摘要: el-menu 有个属性 :default-active="curActive" el-menu-item 有个属性 :index=“home” 这2个属性值对上号就自动定位了 data() { return { curActive:"home" }; }, 可以在左侧菜单栏组件里对路由进行监控,就 阅读全文
posted @ 2019-02-19 17:39 树叶———— 阅读(3216) 评论(0) 推荐(0) 编辑