From 2439cf25db3a5ee90214f5688a096fc15c320028 Mon Sep 17 00:00:00 2001 From: guanxiaohan Date: Thu, 19 Sep 2024 10:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E8=BF=90=E7=BB=B4=E5=8F=AF?= =?UTF-8?q?=E8=A7=86=E5=8C=96=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/views/index.js | 22 ++++++++++++++++++++++ vue.config.js | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/router/views/index.js b/src/router/views/index.js index 61bd781..2279955 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -244,4 +244,26 @@ export default [{ import( /* webpackChunkName: "views" */ '@/views/system/systemSetting') }] }, +{ + path: '/opsVisualization', + component: Layout, + redirect: '/opsVisualization/index', + children: [{ + path: 'index', + name: 'index', + meta: { + i18n: 'dashboard' + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/opsVisualization/index') + }, { + path: 'alarmProcess', + name: 'alarmProcess', + meta: { + i18n: 'dashboard' + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/opsVisualization/alarmProcess') + }] +}, ] diff --git a/vue.config.js b/vue.config.js index 8d74d9b..f3fac99 100644 --- a/vue.config.js +++ b/vue.config.js @@ -30,7 +30,7 @@ module.exports = { // target: 'http://192.168.3.58:8001', // target: 'http://192.168.1.105:8001', // target: 'http://192.168.1.34:8001', - target: 'http://192.168.1.102:8001', + target: 'http://192.168.1.5:8001', // target: 'http://192.168.1.106:8001', // target: 'http://192.168.0.115:8001', ws: true, @@ -53,7 +53,7 @@ module.exports = { // target: 'http://192.168.79.129', // target: "http://192.168.1.106", // target: "http://192.168.1.105:80", - target: "http://192.168.1.102:80", + target: "http://192.168.1.5:80", // target: "http://192.168.1.34:80", // target: "http://192.168.0.115", // target: "http://10.90.100.204",