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

fix(mp-weixin): 避免异步组件加载前获取$refs异常 #4366

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

kinsprite
Copy link

@kinsprite kinsprite commented Jun 4, 2023

原因: 内置组件(view等)定义 ref="xxx" 时,selectAllComponents() 返回了 [null] , JS异常。

使用异步组件时,有时使用 view 做placeHolder组件

@kinsprite kinsprite changed the title fix(mp-weixin): 避免异步组件加载前获取$ref异常 fix(mp-weixin): 避免异步组件加载前获取$refs异常 Jun 4, 2023
@GRCmade GRCmade deleted the branch dcloudio:dev August 22, 2024 13:09
@GRCmade GRCmade closed this Aug 22, 2024
@GRCmade GRCmade reopened this Aug 28, 2024
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