ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

feat: Image add infinite props #22959

Open wangdaodao opened 2 months ago

wangdaodao commented 2 months ago

Please make sure these boxes are checked before submitting your PR, thank you!

Feature: https://github.com/ElemeFE/element/issues/22958

Fix: https://github.com/ElemeFE/element/blob/dev/packages/image/src/image-viewer.vue#L233

handleImgError(e) {
  this.loading = false;
  // e.target.alt = '加载失败';
  e.target.alt = this.t('el.image.error');
}
github-actions[bot] commented 2 months ago

🎊 PR Preview has been successfully built and deployed to https://preview-pr-22959-element-ui.surge.sh