-
Notifications
You must be signed in to change notification settings - Fork 277
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
[t-upload] 首次上传后图片没有预览显示 #3194
Labels
duplicate
This issue or pull request already exists
Comments
👋 @danielyangfei,感谢给 TDesign 提出了 issue。 |
default.mov |
@danielyangfei 感谢反馈,不过我按照你的代码没有复现,麻烦你参考文档示例再看看 |
模拟器上面没问题,但是真机上会有问题。
issue 中我看很多人也在反馈相同的问题 |
采用了#3015 中说的 去掉 draggable 解决了问题 感觉这个属性应该是有啥影响的 |
Duplicate of #3015 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-miniprogram 版本
1.6.1
重现链接
No response
重现步骤
.wxml
<t-upload
draggable
media-type="{{['video','image']}}"
files="{{originFiles}}"
gridConfig="{{gridConfig}}"
bind:add="handleAdd"
bind:remove="handleRemove"
bind:click="handleClick"
.js
data:{
originFiles: [
}
handleAdd(e){
const { files } = e.detail;
console.log(e)
this.setData({originFiles:e.detail.files})
},
期望结果
上传并展示
实际结果
首次不能展示预览 第二次又可以
基础库版本
No response
补充说明
无
The text was updated successfully, but these errors were encountered: