chrome 80 cookies问题

问题

  • 升级chrome80版本
  • 出现异步请求数据没权限

表现

A cookie associated with a cross-site resource at xxx was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

解决办法

  • chrome地址栏输入chrome://flags
  • 搜索cookies
  • 找到如下配置项disabled掉
  • 重启浏览器即可
image.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容