首页改造,完成cpu,内存,网络图
This commit is contained in:
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
||||
import VueRouter from 'vue-router'
|
||||
import Layout from "../layout/index.vue"
|
||||
|
||||
import control from '../components/control.vue'
|
||||
import console from '../components/console.vue'
|
||||
import deviceList from '../components/DeviceList.vue'
|
||||
import channelList from '../components/channelList.vue'
|
||||
import pushVideoList from '../components/PushVideoList.vue'
|
||||
@@ -37,11 +37,11 @@ export default new VueRouter({
|
||||
path: '/',
|
||||
name: 'home',
|
||||
component: Layout,
|
||||
redirect: '/control',
|
||||
redirect: '/console',
|
||||
children: [
|
||||
{
|
||||
path: '/control',
|
||||
component: control,
|
||||
path: '/console',
|
||||
component: console,
|
||||
},
|
||||
{
|
||||
path: '/live',
|
||||
|
||||
Reference in New Issue
Block a user