-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Image组件能否加个error插槽 #5649
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题的清晰而简明的描述
图像加载失败时可以自定义error显示
建议的解决方案
<n-image } src=”“object-fit="cover">
{{
error: () =>
placeholder: () => (
}}
备选方案
No response
附加上下文
No response
验证
The text was updated successfully, but these errors were encountered: