How to realize the partial switching of Jian Daoyun's page?

Jian Daoyun can keep the common part of the page such as navigation unchanged, but only change the main part of the page when you click on the navigation bar (or navigation pane) to switch pages. At the same time, if you look at the address bar, you can see that the address (routing) of the page has changed with the navigation switch, rather than maintaining the same address.

the details can be compared with the red boxes of the two pictures below, which shows that my own changes in the left navigation bar have not been reset because of the navigation switch, while the address of the address bar has changed.

clipboard.png

clipboard.png

what should I do if I use Flask,? Don"t consider AJAX, for the time being because as far as I know, using AJAX ensures that the address of the address bar is always unique, but the address changes when you switch navigation in the cloud.

Mar.12,2021

you can use AJAX, to use location.hash or history api to achieve no refresh page skipping
link description

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