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
Upload
Upload.Dragger的itemRender为什么不生效 具体代码:
<Upload.Dragger listType="card" accept="image/png, image/jpg, image/jpeg, image/gif, image/bmp" defaultValue={data} itemRender={itemRender} /> const itemRender = (file, {remove}) => { console.log(file); return (<div> <img src={file.url} style={{maxWidth: '100%', maxHeight: '100%'}} /> <div style={{ position: 'absolute', top:0, right:0, bottom:0, left:0, background: 'rgba(0,0,0,.5)', color: '#ddd', display: 'flex', flexDirection: 'column', alignItems: 'center' }}> <Icon type="eye" style={{marginTop: 40, cursor: 'pointer'}} onClick={() => showImg(file.url)}/> <span style={{marginTop: 10, fontSize: 12}}>06:08</span> </div> <Icon type="ashbin" size="xs" style={{position: 'absolute', right:2, top: 2, color: '#fff', cursor: 'pointer'}} onClick={remove} /> </div>); };
The text was updated successfully, but these errors were encountered:
这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。
Sorry, something went wrong.
请帖一下复现 demo 链接
https://codepen.io/gqucjiaa-the-bashful/pen/JjqjmPJ?editors=0010
@eternalsky 你好,复现连接如上
FairyYang
No branches or pull requests
Component
Upload
Steps to reproduce
Upload.Dragger的itemRender为什么不生效
具体代码:
The text was updated successfully, but these errors were encountered: