historyjs
typescript interface History { // 历史会话数目,包含当前页面 readonly length: number; // 当前页面缓存的状态值,一个对象 readonly state: any; // 获取或控制浏览器是否自动恢复页面滚动位置,默认 auto,也就是自动
typescript interface History { // 历史会话数目,包含当前页面 readonly length: number; // 当前页面缓存的状态值,一个对象 readonly state: any; // 获取或控制浏览器是否自动恢复页面滚动位置,默认 auto,也就是自动
- 基础路由组件,用于全局处理路由转发任务,包括和 - 路由匹配组件,用于根据 URL 匹配指定的页面组件,包括和 - 页面跳转组件,包括、和,最终会转换成标签嵌入页面