no message
parent
872a5d1982
commit
e5449213c2
|
@ -1,7 +1,6 @@
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./styles/menu.scss";
|
@import "./styles/menu.scss";
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="ivu-shrinkable-menu">
|
<div class="ivu-shrinkable-menu">
|
||||||
<!-- 一级菜单 -->
|
<!-- 一级菜单 -->
|
||||||
|
@ -50,7 +49,7 @@ export default {
|
||||||
name: name
|
name: name
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
selectNav(name) {
|
selectNav(name) { // 一级路由点击
|
||||||
this.$store.commit("setCurrNav", name);
|
this.$store.commit("setCurrNav", name);
|
||||||
this.setStore("currNav", name);
|
this.setStore("currNav", name);
|
||||||
util.initRouter(this);
|
util.initRouter(this);
|
||||||
|
|
Loading…
Reference in New Issue