提交 b90f386c 编写于 作者: fxy060608's avatar fxy060608

Merge branch 'dev' of https://github.com/dcloudio/uni-app into v3

......@@ -60,9 +60,11 @@ class ComponentDescriptor {
return []
}
const descriptors = []
this.$el.querySelectorAll(selector).forEach(el => {
const els = this.$el.querySelectorAll(selector)
for (let i = 0; i < els.length; i++) {
const el = els[i]
el.__vue__ && descriptors.push(createComponentDescriptor(el.__vue__, false))
})
}
return descriptors
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册