# SaveImg 保存图片

保存图片,为分享业务设计,可实现移动端图片展示,保存等功能。

# Props

Prop name Description Type Values Default
url 图片地址 string -
lazyLoad 是否开启图片懒加载 boolean - true

<uct-save-img
  ref="saveImg"
  url="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3566088443,3713209594&fm=26&gp=0.jpg"
></uct-save-img>
export default {
  mounted() {
    this.$refs.saveImg.showImg();
  }
};