module.exports = { devServer: { proxy: { "/api": { target: "http://localhost:3000", changeOrigin: true, secure: false, pathRewrite: { "^/api": '' } }, "/wanda": { target: "http://map.wanda.cn/editor/fmap/1001724_29", changeOrigin: true, pathRewrite: { "^/wanda": "" } } }, // 关闭esline overlay: { warnings: false, errors: false }, }, }