• This project
    • Loading...
  • Sign in

Hooke / tswj

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • tswj
  • src
  • mock
  • routes.js
  • hookehuyr's avatar
    ✨ feat(动态路由): 重写动态路由模块,解决子路由无法使用和刷新白屏问题 · 07c15bb9
    07c15bb9
    hookehuyr authored 2022-06-29 17:17:47 +0800
routes.js 426 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
const routes = [{
  path: '/image',
  redirect: '',
  name: 'html转图片',
  component: 'html2canvas',
  keepAlive: '',
  meta: {
    title: 'html转图片',
    name: ''
  },
  children: [{
    path: 'children',
    redirect: '',
    name: 'html转图片',
    component: 'children-test',
    keepAlive: '',
    meta: {
      title: 'html转图片',
      name: ''
    }
  }]
}]
// const routes = []

export default routes