yusheng hace 10 meses
padre
commit
7e20f549b6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vue.config.js

+ 1 - 0
vue.config.js

@@ -40,6 +40,7 @@ module.exports = {
         // target: 'http://192.168.1.251:18186',//测试
         // target: 'http://192.168.1.23:18086',//罗
         // target: 'http://192.168.1.144:18086',//付
+
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''