From 0c5c411b091b09c9f42460d11f333de7a9787db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=91=AB?= Date: Thu, 17 Dec 2020 22:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=A6=96=E9=A1=B5=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E6=9B=B4=E6=94=B9=E4=B8=BA=E5=AE=9E=E6=97=B6=E7=9B=91?= =?UTF-8?q?=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auth.json | 6 +++--- src/router/index.js | 2 +- src/views/guide.vue | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/auth.json b/auth.json index f3038e2..21c035c 100644 --- a/auth.json +++ b/auth.json @@ -3,8 +3,8 @@ "type": -1, "rights": "duojiSystem", "children": [{ - "description": "历史监控", - "type": 2, - "rights": "history" + "description": "实时监控", + "type": 1, + "rights": "realTimeMonitoring" }] } diff --git a/src/router/index.js b/src/router/index.js index 4e75fd9..49fd8a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,7 +25,7 @@ VueRouter.prototype.push = function push(location) { const routes = [{ path: '/', redirect: { - name: 'history' + name: 'realTimeMonitoring' }, component: () => import('@/views/index'), children: [ diff --git a/src/views/guide.vue b/src/views/guide.vue index d676388..c07a664 100644 --- a/src/views/guide.vue +++ b/src/views/guide.vue @@ -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("暂未开放"); } @@ -46,4 +46,4 @@ export default { cursor: pointer; } } - \ No newline at end of file +