mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
修复: 点击菜单栏时控制台报路由重复导航警告bug;
This commit is contained in:
parent
ce3ee754f5
commit
d4d46eeaae
@ -64,8 +64,8 @@ export default {
|
||||
this.pageList.push(newRoute)
|
||||
}
|
||||
},
|
||||
'activePage': function (key) {
|
||||
this.$router.push(key)
|
||||
'activePage': function () {
|
||||
// this.$router.push(key)
|
||||
},
|
||||
'multiPage': function (newVal) {
|
||||
if (!newVal) {
|
||||
@ -76,6 +76,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
changePage (key) {
|
||||
this.$router.push(key)
|
||||
this.activePage = key
|
||||
},
|
||||
editPage (key, action) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user