This routing scheme defaults to the hash method starting with #. If you do not consider lower version browsers, you can directly call $locationProvider.html5Mode(true) to use the H5 scheme instead of the hash scheme.
If you are interested, please read my article directly. There is an article explaining the front-end routing mechanism in detail
If it is angular 1.x, you can add a sentence at the end of the route
$locationProvider.html5Mode(true);
This routing scheme defaults to the hash method starting with #. If you do not consider lower version browsers, you can directly call $locationProvider.html5Mode(true) to use the H5 scheme instead of the hash scheme.
If you are interested, please read my article directly. There is an article explaining the front-end routing mechanism in detail