前端js获取不到response header中自定义内容的解决方法 | 您所在的位置:网站首页 › ipad电视投屏后为什么不能关ipad › 前端js获取不到response header中自定义内容的解决方法 |
前端js获取不到response header中自定义内容的解决方法
易水寒h2: 谢谢 还有评论区的老哥牛的 前端js获取不到response header中自定义内容的解决方法qq_38048838: 靠谱:服务端添加uuid [code=html] res.setHeader("uuid", uuid); res.setHeader("Access-Control-Expose-Headers","uuid"); [/code] js [code=html] xhr.getResponseHeader("uuid") [/code] 前端js获取不到response header中自定义内容的解决方法东浒大官人: 靠谱 |
CopyRight 2018-2019 实验室设备网 版权所有 |