vue.config.js
@@ -4,5 +4,24 @@ devServer: { disableHostCheck: true } } }, // devServer: { // port: 1888, // // disableHostCheck: true, // proxy: { // '/api': { // //本地服务接口地址 // // target: 'http://localhost', // // target: 'http://192.168.0.114:81',//钟W // target: 'http://192.168.0.109:81',//tangW // // target: 'http://192.168.0.104:80',//唐N // //远程演示服务地址,可用于直接启动项目 // // target: 'https://saber.bladex.vip/api', // ws: true, // pathRewrite: { // '^/api': '/' // } // } // } // } }