ysy il y a 1 an
Parent
commit
940280c5af
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -34,8 +34,8 @@ module.exports = {
         // target: 'http://124.71.68.31:50001', // 测试环境
         // target: 'http://124.71.68.31:50001',
 
-        target: 'http://192.168.1.116:18086',
-        // target: 'http://192.168.1.125:18086',
+        // target: 'http://192.168.1.116:18086',
+        target: 'http://192.168.1.125:18086',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''