Respect the key set on the vnode of routed components
This commit is contained in:
parent
118da88889
commit
426f1b55b0
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ module.exports = function($window, mount) {
|
||||||
var currentResolve, currentComponent, currentRender, currentArgs, currentPath
|
var currentResolve, currentComponent, currentRender, currentArgs, currentPath
|
||||||
|
|
||||||
var RouteComponent = {view: function() {
|
var RouteComponent = {view: function() {
|
||||||
return currentRender(Vnode(currentComponent, null, currentArgs, undefined, undefined, undefined))
|
return [currentRender(Vnode(currentComponent, null, currentArgs, undefined, undefined, undefined))]
|
||||||
}}
|
}}
|
||||||
function defaultRender(vnode) {
|
function defaultRender(vnode) {
|
||||||
return vnode
|
return vnode
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue