-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
In v0.11.0-rc2, references to nested components don't behave as expected when children are repeated:
Vue.component('c1', {});
var vm = new Vue({
el:'body',
template: '<div v-component="c1" v-ref="c1"><div v-repeat="[1,2]" v-ref="c2"></div></div>'
});
vm.$.c1 // OK, parent vm
vm.$.c1.$.c2 // should be array of child vm, but undefined
vm.$.c2 // should be undefined, but returns the array of c2-children
Metadata
Metadata
Assignees
Labels
No labels