🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@luongvm
Copy link

@luongvm luongvm commented Nov 25, 2016

In my Chrome browser, the Component._Ctor is not a constructor, but Component._Ctor[0]

The error go away after I changed to that.

@lian-yue
Copy link
Owner

vue 2.0.0 = Component
vue 2.0.x = Component._Ctor
vue 2.1.x = Component._Ctor[0]

You do not remove Component = Component._Ctor

if (!Component._Ctor) {

} else if (Component._Ctor == 'function') {
    Component = Component._Ctor
} else {
    Component = Component._Ctor[0]
}

@lian-yue lian-yue closed this Nov 25, 2016
lian-yue added a commit that referenced this pull request Nov 25, 2016
@luongvm luongvm deleted the 2.0 branch November 25, 2016 10:27
@luongvm luongvm restored the 2.0 branch November 25, 2016 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants