Skip to content
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

博主您好,在vue的源码阅读中,initInternalComponent是在什么情况下会被调用呢? #7

Open
DaZhaoLis opened this issue Apr 18, 2018 · 0 comments

Comments

@DaZhaoLis
Copy link

是不是由于vue.component('componentName',opts:默认为vue.extend),由于vue.extend已经处理过一次options了。所以这里可以直接赋值options而不用管mixin合并策略和mixin/directive这些,即else的分支
image

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

No branches or pull requests

1 participant