From c649d326683384f449dffa746d05cd5f76d1d9e0 Mon Sep 17 00:00:00 2001 From: Panwei <184413024@qq.com> Date: Thu, 12 Dec 2024 14:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=BD=E5=B7=A5=E5=9B=BE=E5=8D=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ningboDp/Index.vue | 527 ++++++++++++++++++++++++++++++++++- vue.config.js | 11 +- 2 files changed, 536 insertions(+), 2 deletions(-) diff --git a/src/views/ningboDp/Index.vue b/src/views/ningboDp/Index.vue index babfecd..f3cebf1 100644 --- a/src/views/ningboDp/Index.vue +++ b/src/views/ningboDp/Index.vue @@ -1,3 +1,528 @@ + + + diff --git a/vue.config.js b/vue.config.js index 53c32b8..e9d4692 100644 --- a/vue.config.js +++ b/vue.config.js @@ -9,8 +9,17 @@ module.exports = { } } }, + // devServer: { + // proxy: "http://localhost:42127" + // }, devServer: { - proxy: "http://localhost:42127" + proxy: { + '/api2': { + target: 'http://10.19.94.51:11684', + changeOrigin: true, + pathRewrite: { '^/api2': '' } + } + } }, chainWebpack: config => { config.module