feat(render) nameLink for each route, fixed #99
This commit is contained in:
parent
0994663c5a
commit
8ad835ca26
4 changed files with 21 additions and 2 deletions
|
|
@ -34,6 +34,7 @@ let lastRoute = {}
|
|||
export function initRoute (vm) {
|
||||
normalize()
|
||||
lastRoute = vm.route = parse()
|
||||
vm._updateRender()
|
||||
|
||||
on('hashchange', _ => {
|
||||
normalize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue