| | |
| | | routes: [ |
| | | { |
| | | path: '/', |
| | | redirect: '/mechanism' |
| | | redirect: '/model' |
| | | }, |
| | | { |
| | | path: '/mechanism', |
| | | name: 'mechanism', |
| | | component: () => import('../views/model/Mechanism.vue') |
| | | 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: '/kinematic', |
| | | name: 'kinematic', |
| | | component: () => import('../views/model/Kinematic.vue') |
| | | }, |
| | | |
| | | { |
| | | path: '/simulation-config', |
| | | name: 'simulationConfig', |
| | |
| | | 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') |
| | | }, |
| | | { |
| | | path: '/system/permission', |
| | | name: 'systemPermission', |
| | | component: () => import('../views/system/Permission.vue') |
| | | } |
| | | |
| | | ] |
| | | }) |
| | | |