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

在build环境中读取suspense下的子组件defineExpose暴露的属性读到的值是undefined dev下却可以读取到正常的值 #5277

Closed
ghost opened this issue Jan 17, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 17, 2022

Version

3.2.27

Reproduction link

sfc.vuejs.org/

Steps to reproduce

使用包裹子组件,子组件的setup方法中在defineExpose前await异步函数

What is expected?

应当读取到子组件暴露的值

What is actually happening?

读取到了undefined

@edison1105
Copy link
Member

duplicate of #4930

@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant