關於瀏覽器菜單列顯示不了的問題 `SameSite=None` and `Secure`

1.問題描述

A cookie associated with a cross-site resource at http://XXX.XXX.XXX.XXXX/ 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.

在這裏插入圖片描述

F12之後,查看原始報錯信息在這裏插入圖片描述

解決方案

1.地址欄:chrome://flags

2.搜索:SameSite by default cookies

3.選擇:disabled

在這裏插入圖片描述

4.重啓瀏覽器

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章