Elementui tabs component, how to make the page display from the top when switching tabs?

The

tab uses the tabs component of elementui. When switching tabs, the newly switched page always maintains the scrolling position of the previous page, as shown in figure

.

when I slipped halfway through the Health profile, I switched to symptom Review

clipboard.png

"" :

clipboard.png

""

clipboard.png

the problem that the page does not return to the top when many jump routes are found on the Internet, but I only switch tabs and do not jump routes. Please advise

Apr.06,2021

Don't think so complicated. Don't components provide you with tab-click events? scroll back to the top directly in the callback window.scrollTo (0,0);

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-1b3dda9-2c3ce.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-1b3dda9-2c3ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?