子应用之间切换,定时器无法清空
#2989
Replies: 1 comment
-
你应该在子应用的入口文件main的unmount的钩子函数将其移除掉。 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
1、子应用A创建了一个定时器timer ,在beforeonUnmounted 设置的了clearinterval
2、当A切换到子应用B的时候 定时器timer未被清除,仍在继续运行
Beta Was this translation helpful? Give feedback.
All reactions