老师,我接了个面试,需要讲解这个react项目

来源:7-4 项目作业

yinikko

2020-03-25 15:41:48

但是项目中读取不到cookie的问题一直没能解决,查了各种资料都没用,当时提问说是代码正确不需要理会我就没管了,现在该怎么办呢

A cookie associated with a cross-site resource at http://www.dell-lee.com/ 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.

写回答

1回答

bbbboom

2020-03-25

课程里的项目测试也是这样的呀,就是警告,应该是浏览器的问题,再说cookie一般也不是前端操作的。你自己写的有问题话就直接拿课程项目讲行了。

0

0 学习 · 10739 问题

查看课程