From c8ee9ca6cf1cec257d853e03466bd943c9fd6dec Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 28 Feb 2023 15:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=85=A7=E6=B2=BB=E7=90=86?= =?UTF-8?q?=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.json | 7 +++++++ src/pages/login.vue | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/manifest.json b/src/manifest.json index 6b9c1c2f..090968fb 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -113,6 +113,13 @@ "pathRewrite": { "^/tr": "/" } + }, + "/hzl": { + "target": "http://192.168.1.87:39000/", + "changeOrigin": true, + "pathRewrite": { + "^/hzl": "/" + } } } }, diff --git a/src/pages/login.vue b/src/pages/login.vue index 527c53d1..3b2f1344 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -75,6 +75,8 @@ export default { module = 'online' } else if (/\/project\/xincheng\//.test(libPath)) { module = 'xaxc' + } else if (/\/project\/huizhili\//.test(libPath)) { + module = 'hzl' } else if (/\/project\/qianxinan\//.test(libPath)) { module = 'qxn' } else if (/\/project\/tongren\//.test(libPath)) {