Wechat h5 environment, how to avoid pulling down the page

problem scenario: now you need to implement a drop-down refresh function, but in Wechat, the embedded browser of the nail, when you drop down. Will pull down the web page together, how to set the drop-down event, the problem will not occur when the page comes down

what you want to achieve:

< hr >

now the situation in Wechat"s environment:
I don"t know why the picture cannot be uploaded. The actual situation is that when the page is pulled down, the page will also be pulled down, and then a few words provided by xxxxx will leak out of the page

.

stoppropagation
preventDefault

Menu