乾坤框架子应用采用vue构建three.js的项目切换页面后反复几次会掉帧,单独测试子应用不会掉帧 #1611
Unanswered
liuchang-only
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在学习使用qiankun的demo时,顺便学习编写three.js的demo。然后就发现了一个奇怪的现象。我在vue的destroyed中使用 this.renderer.getContext().getExtension("WEBGL_lose_context").loseContext();或者 this.renderer.forceContextLoss();之后,单独测试子应用发现都是可以清除掉帧影响的,但是在乾坤框架中切换路由依然会明显掉帧卡顿。希望大佬们给出指导方案,thanks
Beta Was this translation helpful? Give feedback.
All reactions