Failed to read the ‘localStorage‘ property from ‘Window‘: Access is denied for this document.
·

Failed to read the ‘localStorage’ property from ‘Window’: Access is denied for this document.
报错这个,一般是在浏览器 隐身模式 下使用 localStorage、cookie 存储操作导致的,或者是浏览器正常模式下开启了 阻止第三方 Cookie 权限。
解决方法:
在Chrome设置菜单中: 高级 > 隐私设置和安全性 > Cookie 及其他网站数据 > 常规设置 > (选择)允许所有Cookie
更多推荐
所有评论(0)