How do I keep the sidebar on the table page, but route to the details page?

this is the table page clipboard.png

clipboard.png

the question is how to keep the state of the table sidebar unchanged.


sets the table on the left as a public component, calling the common component within each specific page and passing an argument that represents a unique identification of the selected state of the sidebar.


the merit of history API
although the url has changed, it is routed by js, and the status is not cleared. There is no re-request page
for more information, please refer to the following article:
Baidu Encyclopedia
wiki
https://en.wikipedia.org/wiki.

Menu