瀏覽代碼

修改自己的ip

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

+ 2 - 2
vue.config.js

@@ -26,7 +26,7 @@ module.exports = {
         proxy: {
             '/api': {
                 //本地服务接口地址
-                target: 'http://192.168.31.96',
+                target: 'http://localhost',
                 //远程演示服务地址,可用于直接启动项目
                 //target: 'https://saber.bladex.vip/api',
                 ws: true,
@@ -36,4 +36,4 @@ module.exports = {
             }
         }
     }
-};
+};