From be8c6c3fe1a3547c624d867c61ba2c5ea71978c5 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 26 三月 2024 15:46:15 +0800 Subject: [PATCH] 新建入库选择产品数量回显问题、编辑产品问题、删除问题修改 --- vue.config.js | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/vue.config.js b/vue.config.js index 524ff0f..46e2961 100644 --- a/vue.config.js +++ b/vue.config.js @@ -14,15 +14,24 @@ devServer: { proxy: { "/api-s": { - target: "http://192.168.20.119:8005", + target: "http://192.168.20.119:8005", // + // target:"http://fai365.com:9083", // ws: true, changeOrigin: true }, "/api-wms": { - target: "http://192.168.20.119:8001", + target: "http://192.168.20.119:8005", + // target:"http://fai365.com:9083", ws: true, changeOrigin: true - } + }, + "/api/menu": { + target: "http://192.168.20.119:8001", + //娉細 鏆傛椂浣跨敤====鐢ㄦ埗鏉冮檺锛岃鑹叉殏鏃剁敤鐨勭幆澧� + // target: "http://192.168.20.119:8011", + ws: true, + changeOrigin: true, + }, } }, transpileDependencies: [ @@ -30,13 +39,13 @@ "crypto-js", "sockjs-client" ], - configureWebpack: (config) => { + configureWebpack: () => { const configNew = {} if (process.env.NODE_ENV === "production") { configNew.externals = externals configNew.plugins = [] } else if (process.env.NODE_ENV === "development") { - console.log("development", config) + // console.log("development", config) } return configNew }, -- Gitblit v1.8.0