/**
 * 地址路由
 */
import Lock from '../pages/Lock.vue' // 锁屏
import Index from '~/pages/index'
import Blank from '~/pages/blank'
import SoilRouters from '~/router/soil-routes'

export default [
  { path: '/lock', name: 'Lock', component: Lock, meta: { allowBack: false } },
  {
    path: '/',
    component: Index,
    children: [
      {
        path: '/',
        redirect: '/soil/workbench',
        meta: { title: '首页' }
      }
    ]
  },
  {
    path: '/soil',
    component: Blank,
    children: SoilRouters,
    meta: { title: '土工试验LIMS' }
  },
  { path: '*', redirect: '/' }
]
