Is the vue listening scroll bar scrolling horizontally or vertically?

determines whether it is scrolling horizontally or vertically, and needs to cache the scrollLeft and scrollTop, of the last scroll, so where should I write the cache?
mounted() {
     // 
    window.addEventListener("scroll", this.handleScroll, true)
}
Jul.14,2021

is written in data or a global variable, and is updated in real time in handleScroll

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b7be-34649.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b7be-34649.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?