vue.config.js
@@ -44,6 +44,7 @@ // target: 'https://good.xinbi.one/wap/', target: 'https://alokexs.com/wap/', // 路径重写,将'/user/login'重写为'/login' pathRewrite: { '^/wap/api': '' }, @@ -53,4 +54,4 @@ }, } }); // module.exports.publicPath = "/dadi/"; module.exports.publicPath = "/dadi/";