setUpLocationSync
Sets up a location synchronization.
说明
History.pushState does not fire onPopState, so the Angular location doesn't detect it. The workaround is to attach a location change listener
Sets up a location synchronization.
History.pushState does not fire onPopState, so the Angular location doesn't detect it. The workaround is to attach a location change listener