Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / mini-program / points-mall

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • points-mall
  • router
  • index.js
  • liimin's avatar
    refactor(router): 重构路由系统并优化登录状态检查 · 526d78e1 ...
    - 重构 Router 类,增加权限检查和路由拦截功能
    - 优化登录状态检查逻辑,使用 wx.p.isLogin 替代 wx.$LoginStatus
    - 调整路由跳转方法,支持传参和特殊页面处理
    - 移除全局事件注册,降低潜在风险
    liimin committed Aug 12, 2025
    526d78e1
index.js 122 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7
import router from "./router.js";
import routerBefore from './routerBefore'

module.exports = {
  router,
  routerBefore
}