vue.config.js
@@ -4,7 +4,7 @@ module.exports = { //路径前缀 publicPath: "/zhny-web", publicPath: "/", lintOnSave: true, productionSourceMap: false, chainWebpack: (config) => { @@ -40,7 +40,7 @@ //开发模式反向代理配置,生产模式请使用Nginx部署并配置反向代理 devServer: { // 本地配置host生效 disableHostCheck:true, disableHostCheck: true, port: 1888, proxy: { '/api': {