Do I need to remove watchers on component destroyed() if I used the vm.$watch API?

前端 未结 0 436
余生分开走
余生分开走 2021-02-19 21:49

As many of you know, Vue supports adding watchers using the declarative Single File Component API using the watch property, like so:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题