We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.33.5
3.2.40
Chrome 106.0.5249.103 arm64
MacOS 12.6
16.8
https://codesandbox.io/s/3l3ru8
设置upload list-type="image-card" 并手动设置文件预览缩略图,文件为非图片文件(视频文件)
拖拽上传文件时触发上传操作,非图片文件上传成功后可以手动设置预览缩略图
拖拽上传文件时无响应 ,上传非图片文件(视频文件)时,文件上传成功后设置文件的thumbnailUrl属性后无法展示相关图片; 设置文件缩略图在on-finish 方法和 create-thumbnail-url 方法都进行过尝试,无法成功
The text was updated successfully, but these errors were encountered:
目前确实只有图片才支持缩略图,这个不太合理
Sorry, something went wrong.
e9895a7
@07akioni 升级版本至 2.34.x ,发现自定义上传 image-card,2.34.x之前的版本上传后会默认显示预览缩略图,现在不显示了。这是否是期望的?这会对之前的不兼容。demo 地址
2.34.x
image-card
No branches or pull requests
TuSimple/naive-ui version (版本)
2.33.5
Vue version (Vue 版本)
3.2.40
Browser and its version (浏览器及其版本)
Chrome 106.0.5249.103 arm64
System and its version (系统及其版本)
MacOS 12.6
Node version (Node 版本)
16.8
Reappearance link (重现链接)
https://codesandbox.io/s/3l3ru8
Reappearance steps (重现步骤)
设置upload list-type="image-card" 并手动设置文件预览缩略图,文件为非图片文件(视频文件)
Expected results (期望的结果)
拖拽上传文件时触发上传操作,非图片文件上传成功后可以手动设置预览缩略图
Actual results (实际的结果)
拖拽上传文件时无响应 ,上传非图片文件(视频文件)时,文件上传成功后设置文件的thumbnailUrl属性后无法展示相关图片;
设置文件缩略图在on-finish 方法和 create-thumbnail-url 方法都进行过尝试,无法成功
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: