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