refactor navigation-entry and use them in other nav items
This commit is contained in:
parent
ea3ce55929
commit
768b3ea14f
4 changed files with 121 additions and 153 deletions
|
|
@ -22,6 +22,7 @@ const NavigationEntry = {
|
|||
},
|
||||
computed: {
|
||||
routeTo () {
|
||||
if (!this.item.route && !this.item.routeObject) return null
|
||||
if (this.item.routeObject) {
|
||||
return this.item.routeObject
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue