We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问一下,执行顺序不是setup执行最早吗
The text was updated successfully, but these errors were encountered:
仔细看官方文档的声明里setup就是在beforcreate以及解析完props后面啊,生命周期那一节里讲到了
Sorry, something went wrong.
最早执行的话,props,还有slot emit这些都没从组件解析怎么传给setup
这个是的,但是为什么在setup函数里打印会比beforeCreate要早打印
export default defineComponent({ beforeCreate(){ }, setup(){ // 这里打印会比beforeCreate早 } })
No branches or pull requests
请问一下,执行顺序不是setup执行最早吗
The text was updated successfully, but these errors were encountered: