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

预加载在小程序中使用报错,iPhone会白屏 #1196

Open
1054959069 opened this issue May 8, 2024 · 9 comments
Open

预加载在小程序中使用报错,iPhone会白屏 #1196

1054959069 opened this issue May 8, 2024 · 9 comments
Labels
question Further information is requested

Comments

@1054959069
Copy link

1054959069 commented May 8, 2024

问题描述

使用预加载,只有iPhone端大概率会白屏,但是有几率可以正常使用;如果不使用预加载则必定白屏

复现步骤

上传截图

请上传代码截图、控制台、终端等截图以帮助我们了解您的问题。
22
11
image

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。

环境信息

  • micro-app版本:1.0.0-rc.5
  • 主应用前端框架&版本:vue3 + ts +vite
  • 子应用前端框架&版本:vue3 + ts +vite
@bailicangdu
Copy link
Member

小程序的web-view吗

@bailicangdu bailicangdu added the question Further information is requested label May 8, 2024
@1054959069
Copy link
Author

1054959069 commented May 8, 2024

小程序的web-view吗

是的,本地用ip地址是没有白屏的问题,但是子应用使用线上的就有大概率白屏

@bailicangdu
Copy link
Member

看报错信息似乎是资源加载出错,但不确定,能提供个demo看一下吗

@bailicangdu bailicangdu added the Need Reproduction 需要复现步骤 label May 8, 2024
Copy link

github-actions bot commented May 8, 2024

Hello @1054959069. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @1054959069, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

@1054959069
Copy link
Author

@1054959069
Copy link
Author

但是无法复现,是偶发性bug,iPhone端

@bailicangdu bailicangdu removed the Need Reproduction 需要复现步骤 label May 13, 2024
@1054959069
Copy link
Author

@bailicangdu
Copy link
Member

本地尝试,案例可以正常加载
image

@1054959069
Copy link
Author

本地尝试,案例可以正常加载 image

真机使用的时候会用白屏问题,iPhone端,偶发性的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants