vue.config.js
@@ -41,7 +41,7 @@ // 可为不同的接口配置不同的代理地址 '/wap/api': { // 服务地址,即你要访问的服务器地址 target: 'https://xinbi.jumpexs.com/wap/', target: 'https://dapp.trullcpro.top/wap/', // 路径重写,将'/user/login'重写为'/login' pathRewrite: { '^/wap/api': '' @@ -52,3 +52,5 @@ }, } }) // module.exports.publicPath = "/blue/"; // module.exports.publicPath = "/h5/";