"devServer" : { "port" : 8002, "disableHostCheck" : true, "proxy" : { "/report" : { "target" : "http://xx.xxxxx.com", "changeOrigin" : true, "secure" : false, "cookieDomainRewrite": { "xxxxx.com": "" } } } }
需要增加
"cookieDomainRewrite": { "xxxxx.com": "" }