Parcourir la source

修改自己的ip

liuyc il y a 2 ans
Parent
commit
78006f7f4a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 = {
             }
         }
     }
-};
+};