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

tab切换状态下(路由有变化),界面的水印会一直存在,个别tab页面直接崩溃 #101

Open
Julinear opened this issue Jul 13, 2022 · 4 comments

Comments

@Julinear
Copy link

组件销毁方法ngOnDestroy中已经添加了watermark.remove()未生效;另外切换到个别tab下页面直接崩溃;请问大佬大致知道是什么原因么

@Julinear Julinear changed the title tab切换状态下(路由有变化),界面的水印会一直存在 tab切换状态下(路由有变化),界面的水印会一直存在,个别tab页面直接崩溃 Jul 13, 2022
@Julinear
Copy link
Author

断点定位了一下,remove方法执行了,暂时生效了,但是切换完会再加载出来,不确定此处的逻辑是怎样的,有解决方案么

@Julinear
Copy link
Author

看了API,参数添加了monitor参数已解决

@Hjyperfect
Copy link

方便问下是dom在自己变化吗 我好像遇到了相同的问题 也是在切换tab后,路由不发生变化

@Hjyperfect
Copy link

我用了性能监视器,发现切换tab后自己在变化 我是个作业平台 标注员作业一段时间后 就会崩溃

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

No branches or pull requests

2 participants