QYF-GitLab1
2025-03-03 f2b450b76a1b161728c6008de07671f14631b34d
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { createRouter, createWebHistory } from 'vue-router'
 
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/model'
    },
    {
      path: '/model',
      name: 'model',
      redirect: '/model/childrenModel01',
      component: () => import('../views/model/index.vue'),
      children: [
        {
          path: '/model/childrenModel01',
          name: 'childrenModel01',
          component: () => import('../views/model/children/childrenModel01.vue')
        },
      ]
    },
 
    {
      path: '/simulation-config',
      name: 'simulationConfig',
      component: () => import('../views/simulation/Config.vue')
    },
    {
      path: '/simulation-result',
      name: 'simulationResult',
      component: () => import('../views/simulation/Result.vue')
    },
    {
      path: '/simulation-test',
      name: 'simulationTest',
      component: () => import('../views/simulation/test.vue')
    },
    {
      path: '/system/user',
      name: 'systemUser',
      component: () => import('../views/system/User.vue')
    },
 
  ]
})
 
export default router