-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
Vue.js & vue-router.js version
1.0.18, 0.7.13
Reproduction Link
http://www.webpackbin.com/VJUv0eAl-
Steps to reproduce
Click on the "page 2" link and then click on the "page 1" link.
What is Expected?
It should say "current page is page 1". The text is bound to {{ $refs.page.name }}
with <router-view v-ref:page keep-alive="true"></router-view>
and name
is part of the data
for the page1
and page2
components.
What is actually happening?
The text disappears after switching back to page 1 because the v-ref
on <router-view>
is no longer respected. If you remove keep-alive
it works as expected.
Metadata
Metadata
Assignees
Labels
No labels