默认首页渲染更改为实时监控

merge-requests/1/head
张鑫 5 years ago
parent ee1d64efdf
commit 0c5c411b09

@ -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("暂未开放");
}

Loading…
Cancel
Save