695593266@qq.com 11 mēneši atpakaļ
vecāks
revīzija
f5500ea579
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 2 1
      package.json
  2. 2 1
      vue.config.js

+ 2 - 1
package.json

@@ -85,5 +85,6 @@
     "vue-eslint-parser": "^9.0.3",
     "vue-template-compiler": "^2.7.10",
     "webpack": "^5.74.0"
-  }
+  },
+  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
 }

+ 2 - 1
vue.config.js

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