-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on complex view #2
Comments
So I looked into code and problem was with "clone" method. This is my temporary solution: function setPanelContent() {
if ($0) {
var el = $0
var instance = el.__vue__
while ((!instance || instance._isAnonymous) && el.parentNode) {
el = el.parentNode
instance = el.__vue__
}
if (!instance) {
return {}
} else {
window.$vue = instance
var state = {}
var meta = ['$value', '$index', '$key']
for (var key in instance) {
if (key.charAt(0) === '_') continue
if (key.charAt(0) === '$' && meta.indexOf(key) < 0) continue
if (typeof instance[key] === 'function') continue
if (instance.hasOwnProperty(key)) {
state[key] = instance[key]
} else {
(state.$$scope = (state.$$scope || {}))[key] = instance[key]
}
}
return {
$$owner: instance,
view: state
}
}
} else {
return {}
}
} |
Which |
I referred to this line of code:
And I am not pointing to any other vms. |
Now fixed in 0.0.2! Updates should roll out automatically soonish. |
Hi,
so on most of complex views I get displayed following error when inspecting inner elements (mostly elements in inner component):
The text was updated successfully, but these errors were encountered: