In the pop-up window, click the index menu, and the page scrolls to the appropriate location.

as shown in the picture, in the pop-up window of the page, click the index menu on the left, and the content on the right scrolls to the appropriate location. How can this effect be achieved?

I have tried to pass the anchor point, but it doesn"t seem to work in the pop-up window
the project is made by VUE

Dec.17,2021

use scrollTop

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