Solve the issue of document.body.scrolltop 0 in Vue

VUE’s value is summarized in the VUE

Recently listened to the page scrolling when you do VUE, discovery Document.Body.Scrolltop has been 0

But finding document.body.scrolltop has always been 0.

The information discovery is the problem of DTD. The page specifies the DTD, which specifies DOCTYPE, uses Document.DocumenTelement.

The page does not have DTD, that is, Document.Body is used when doing DOCTYPE.

IE and FIREFOX are all.

The problem that solves the document.body.scrolltop in Vue is the total content of Xiaobian sharing to everyone, I hope I can give you a reference, I hope everyone supports Tumi Cloud.

© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment