做iframe的时候渲染突然给我报了个错
in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors ‘self’
赶紧去百度一下什么是Content Security Policy
CSP ---- 内容安全策略
意思是限制iframe只能访问以下地址…
原地址是微信那边的.从而禁止写入自己的网站.
frame-ancestors 'self'
最新推荐文章于 2024-03-07 10:14:24 发布