增加组件props回调的this指向父vm; vm对象增加$children属性,储存所有子组件; vm对象增加$refs属性,储存所有带ref属性的元素; vm对象增加mounted回调
parent
879a022a89
commit
ec43f4b87d
|
@ -3525,6 +3525,7 @@
|
|||
delete hooks.componentWillUnmount
|
||||
|
||||
var vmodel = Anot(hooks)
|
||||
delete vmodel.mounted
|
||||
host.vmodels[0].$children.push(vmodel)
|
||||
|
||||
elem.msResolved = 1 //防止二进扫描此元素
|
||||
|
|
Reference in New Issue