【Vue3】Refused to frame ‘http://www.xxxxx.com/‘ because it violates the following Content Security

错误:

在Vue内使用 iframe 标签 然后引入了外部链接 无法正常显示内容

【Vue3】Refused to frame ‘http://www.xxxxx.com/‘ because it violates the following Content Security_第1张图片

Refused to frame 'http://xxxxxx/' 
because it violates the following Content Security 
Policy directive: "default-src 'self'". 
Note that 'frame-src' was not explicitly set, 
so 'default-src' is used as a fallback.

解决:

将html文件内 meta标头替换

你可能感兴趣的:(前端,javascript,开发语言)