How to solve the problem when the Mini Program page jump encounters an event to execute many times?
This article mainly explains the "Mini Program page jump encountered events many times how to solve", the article explains the content is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "Mini Program page jump encountered events many times how to solve" it!
1. Click event
2. Navigate API
Bug: the event executes the solution multiple times: the development tool shuts down completely and restarts
Start a trip to Mini Program Page ({onTap:function () {wx.navigateTo ({url:'.. / posts/post',});}}) 'bindtap= "onTap'----bind event binding does not prevent bubbling events from bubbling up, catch event bindings can prevent bubbling events from bubbling up. Thank you for your reading, the above is the content of "Mini Program page jump encountered events many times how to solve", after the study of this article, I believe that you have a deeper understanding of how to solve this problem when Mini Program page jump encounters events many times, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!