@ -3,8 +3,8 @@
"type": -1,
"rights": "duojiSystem",
"children": [{
"description": "历史监控",
"type": 2,
"rights": "history"
"description": "实时监控",
"type": 1,
"rights": "realTimeMonitoring"
}]
}
@ -25,7 +25,7 @@ VueRouter.prototype.push = function push(location) {
const routes = [{
path: '/',
redirect: {
name: 'history'
name: 'realTimeMonitoring'
},
component: () => import('@/views/index'),
children: [
@ -27,7 +27,7 @@ export default {
methods: {
go(index) {
if (index === 0) {
this.$router.push({ name: "history" });
this.$router.push({ name: "realTimeMonitoring" });
} else {
this.$message.info("暂未开放");