registerTrackIndex method

dynamic registerTrackIndex(
  1. RoutePageInfo page
)

入栈并登记页面的路由

Implementation

registerTrackIndex(RoutePageInfo page) {
  pageTrack = [...pageTrack, page.pageFunc()];
  pageTrackIndexMapRoute[pageTrack.length - 1] = page.location;
}