Angular2.x+

clipboard.png
looked at the route on the official website and felt very confused. I asked for advice.

Feb.11,2022

method 1:
you route the jump page. If you need to hide the route of the bottom footer, change it to a dynamic route, pass in the hidden footer parameter, and then get the routing parameter in the imported footer page or inside the footer component. If you need to hide, hide or log out, or configure the route to set the parameter
header. Similarly, you need to change the header text of the routing page, pass parameters through the route or configure the parameters in the route

.

method 2:
do a write listening route inside the parent component or component of header and footer, and customize the rules. When the route changes, it changes according to the rules

method 3:
change through the form of service server

still don't understand
can refer to Angular 2 + to listen for route changes and dynamically set the page title principle is basically the same, or you can search Angular to listen for route changes, and there are quite a lot of answers, when the ideas are basically the same
https://codeshelper.com/a/11.

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