Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

referrerpolicy="no-referrer"不生效 #473

Open
iewoai opened this issue Jul 20, 2021 · 2 comments
Open

referrerpolicy="no-referrer"不生效 #473

iewoai opened this issue Jul 20, 2021 · 2 comments

Comments

@iewoai
Copy link

iewoai commented Jul 20, 2021

这样设置可以:

  <div ref="imgItem">
    <img :src="item.img" referrerpolicy="no-referrer">
  </div>

这样不行:

  <div ref="imgItem">
    <img v-lazy="item.img" referrerpolicy="no-referrer">
  </div>

问题:
dom显示带有设置的属性值了,但查看图片请求头并未生效

@carrot2018
Copy link

请问解决了吗

@justJokee
Copy link

justJokee commented Jan 15, 2022

Hey,you can try the forked repository https://github.com/justJokee/vue-lazyload, some attributes which were added to img tag will add to Image instance too when image really be loaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants