File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,10 @@ module.exports = {
166
166
return cached
167
167
}
168
168
}
169
- var owner = this . _host || this . vm
170
- var el = templateParser . clone ( this . el )
171
169
if ( this . Ctor ) {
172
- var child = owner . $addChild ( {
170
+ var parent = this . _host || this . vm
171
+ var el = templateParser . clone ( this . el )
172
+ var child = parent . $addChild ( {
173
173
el : el ,
174
174
data : data ,
175
175
template : this . template ,
Original file line number Diff line number Diff line change @@ -346,8 +346,8 @@ module.exports = {
346
346
}
347
347
// resolve constructor
348
348
var Ctor = this . Ctor || this . resolveDynamicComponent ( data , meta )
349
- var owner = this . _host || this . vm
350
- var vm = owner . $addChild ( {
349
+ var parent = this . _host || this . vm
350
+ var vm = parent . $addChild ( {
351
351
el : templateParser . clone ( this . template ) ,
352
352
data : data ,
353
353
inherit : this . inherit ,
You can’t perform that action at this time.
0 commit comments