提交 377ae4b2 编写于 作者: Q qiang

fix: ComponentDescriptor $el

上级 b3ca28d1
......@@ -44,7 +44,11 @@ function parseStyleText (cssText) {
class ComponentDescriptor {
constructor (vm) {
this.$vm = vm
this.$el = vm.$el
Object.defineProperty(this, '$el', {
get () {
return vm.$el
}
})
}
selectComponent (selector) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册