vue.config.js
@@ -42,6 +42,8 @@ const serverUrl = "http://192.168.20.189:7009"; // 羊五// // const serverUrl = "http://192.168.8.10:7009"; //const serverUrl = "http://192.168.8.118:7009"; const serverUrl2 = "http://192.168.8.10:9000"; // const serverUrl = "http://192.168.20.10:7009"; // const serverUrl2 = "http://192.168.20.10:9000"; @@ -133,6 +135,10 @@ target: serverUrl2, changeOrigin: true, //开启代理, }, "/version": { target: serverUrl, changeOrigin: true, //开启代理, }, }, }, // configureWebpack: {