This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

增加组件props回调的this指向父vm; vm对象增加$children属性,储存所有子组件; vm对象增加$refs属性,储存所有带ref属性的元素; vm对象增加mounted回调

old
宇天 2018-01-25 03:14:04 +08:00
parent 879a022a89
commit ec43f4b87d
1 changed files with 1 additions and 0 deletions

View File

@ -3525,6 +3525,7 @@
delete hooks.componentWillUnmount
var vmodel = Anot(hooks)
delete vmodel.mounted
host.vmodels[0].$children.push(vmodel)
elem.msResolved = 1 //防止二进扫描此元素