From bbc8694a70e86e3b2f1fc902cf72487c0e1d3976 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Mon, 11 Apr 2022 13:48:53 +0800 Subject: [PATCH] =?UTF-8?q?1008=20=E6=89=B9=E9=87=8F=E6=8A=A5=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 ++-- src/views/modules/board/productionBlankingBoard.vue | 2 ++ static/config/index.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index 2984559..2ce0dcf 100644 --- a/config/index.js +++ b/config/index.js @@ -13,7 +13,7 @@ module.exports = { // 代理列表, 是否开启代理通过[./dev.env.js]配置 proxyTable: devEnv.OPEN_PROXY === false ? {} : { '/proxyApi': { - target: 'http://192.168.1.130:9090', + target: 'http://localhost:9090', changeOrigin: true, pathRewrite: { // 把 /proxyApi 替换成 / @@ -23,7 +23,7 @@ module.exports = { }, // Various Dev Server settings - host: '192.168.1.130', // can be overwritten by process.env.HOST + host: 'localhost', // can be overwritten by process.env.HOST port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/views/modules/board/productionBlankingBoard.vue b/src/views/modules/board/productionBlankingBoard.vue index ba7a9ec..f184a3f 100644 --- a/src/views/modules/board/productionBlankingBoard.vue +++ b/src/views/modules/board/productionBlankingBoard.vue @@ -200,6 +200,8 @@