Open jinyoung opened 6 years ago
작업 내용
this.$parent._vnode
VNode {tag: "div", data: undefined, children: Array(3), text: undefined, elm: div…}
this.$parent._vnode.tag
"div"
this.$parent.$vnode.tag
"vue-component-132-org-uengine-kernel-Or"
var conditionEditor
undefined
var parent
undefined
parent = this.$parent
VueComponent {_uid: 875, _isVue: true, $options: Object, _renderProxy: Proxy, _self: VueComponent…}
while(parent.$vnode.tag.indexOf('bpmn-relation') >= 0) parent = parent.$parent;
undefined
parent
VueComponent {_uid: 875, _isVue: true, $options: Object, _renderProxy: Proxy, _self: VueComponent…}
parent.$vnode.tag
"vue-component-132-org-uengine-kernel-Or"
while(parent.$vnode.tag.indexOf('bpmn-relation') == -1) parent = parent.$parent;
VueComponent {_uid: 537, _isVue: true, $options: Object, _renderProxy: Proxy, _self: VueComponent…}
parent.$vnode.tag
"vue-component-131-bpmn-relation"
parent.$vnode.tag.definition
undefined
parent.definition
Parent 데이터에 대한 바인딩 문제 해결 방법: https://github.com/TheOpenCloudEngine/uEngine5-base/commit/63cd01b8cc1a4ed7845c5570eea117364b1561e0
https://www.facebook.com/1401720840/videos/10211674802371213/
참고
소스코드: https://github.com/TheOpenCloudEngine/uEngine5-base/commit/d9fa75cbf07d4f932dc30b669a8ef6164ec2aa88