vant的useCountDown API有清除定时器的方法吗? #13605
              
                Unanswered
              
          
                  
                    
                      inzide-top
                    
                  
                
                  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.
-
我在项目中使用了useCountDown,但是我看官方文档没有做clear方法清除定时器,那我页面卸载会不会导致内存泄露?或者我重新声明一个定时器的时候,上一个定时器会导致内存泄露吗?
Beta Was this translation helpful? Give feedback.
All reactions