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

fix(preview): fix other file preview error problem #1051

Closed
wants to merge 1 commit into from
Closed

fix(preview): fix other file preview error problem #1051

wants to merge 1 commit into from

Conversation

mouyong
Copy link

@mouyong mouyong commented Dec 28, 2022

  1. display filename
  2. remove img element when img load error

close #1050

1. display filename
2. remove img element when img load error
<div
class="gallery-list__item"
@click="zoomImage(index)"
>
<img v-lazy="item.imgUrl" class="gallery-list__item-img">
</div>
<div style="color: #ddd;">
<span>{{ item.fileName }}</span>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文本过长时需要省略号

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yarn dev 看不到运行效果,你方便改一下吗

@Molunerfinn
Copy link
Owner

我回头自行处理吧。

@mouyong
Copy link
Author

mouyong commented Dec 30, 2022

好的,谢谢,处理好了可以和我说一声吗,我更新应用程序

@Molunerfinn
Copy link
Owner

可以的,会在issue里跟你说明。

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

Successfully merging this pull request may close these issues.

[Feature]: 相册是否支持显示文件名呢?
2 participants