Sign in

严涛 / energy-management · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • energy-management
  • src
  • router
  • app-menus
  • index.ts
  • 项目初始化
    f85a61e8
    严涛 authored
    2026-03-23 16:25:30 +0800  
    Browse Files »
index.ts 345 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import { appRoutes } from '../routes'

// const mixinRoutes = [...appRoutes, ...appExternalRoutes]
const mixinRoutes = [...appRoutes]

const appClientMenus = mixinRoutes.map((el) => {
  const { name, path, meta, redirect, children } = el
  return {
    name,
    path,
    meta,
    redirect,
    children,
  }
})

export default appClientMenus