瀏覽代碼

12.27/add数据

huang_an 2 年之前
父節點
當前提交
478056a590
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -31,8 +31,8 @@ module.exports = {
     proxy: {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
-        // target: 'http://124.71.68.31:50001',
-        target: 'http://192.168.1.100:18086', //朱
+        target: 'http://124.71.68.31:50001',
+        // target: 'http://192.168.1.100:18086', //朱
 
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {