| 12345678910111213141516171819202122232425262728293031323334353637 |
- const Cam = () => import('views/cam/Cam')
- const CamList = () => import('views/cam/CamList')
- const LivePage = () => import('views/cam/LivePage')
- const RecordPage = () => import('views/cam/RecordPage')
- export default {
- path: '/cam',
- name: 'Cam',
- component: Cam,
- meta: { needAuth: true },
- children: [
- {
- path: '',
- name: '摄像头列表',
- component: CamList,
- meta: { needAuth: true }
- },
- {
- path: '/cam/list',
- name: '摄像头列表',
- component: CamList,
- meta: { needAuth: true }
- },
- {
- path: '/cam/live/:camId',
- name: 'LivePage',
- component: LivePage,
- meta: { needAuth: true }
- },
- {
- path: '/cam/record/:camId',
- name: 'RecordPage',
- component: RecordPage,
- meta: { needAuth: true }
- }
- ]
- }
|