-
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
avatar组件设置lazy后fallback属性失效,不能在失败后显示图片 #5007
Labels
untriaged
need to sort
Comments
|
那设置的fallback也无效,使用lazy属性后,没办法进行fallback吗? |
jizai1125
added a commit
to jizai1125/naive-ui
that referenced
this issue
Jul 5, 2023
…ad error in lazy, closes tusen-ai#5007
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TuSimple/naive-ui version (版本)
2.34.4
Vue version (Vue 版本)
3.3.4
Browser and its version (浏览器及其版本)
chrome
System and its version (系统及其版本)
windows
Node version (Node 版本)
Reappearance link (重现链接)
https://www.naiveui.com/zh-CN/os-theme/components/avatar
Reappearance steps (重现步骤)
同时设置lazy属性和fallback后,图片加载失败不能正确显示fallback,onError回调也没有触发
Expected results (期望的结果)
在加载失败后,正确显示fallback
Actual results (实际的结果)
失败后,fallback失效
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: