We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea8de4 commit f942d5bCopy full SHA for f942d5b
components/upload/Upload.jsx
@@ -310,7 +310,7 @@ export default {
310
}
311
312
const uploadButton = (
313
- <div class={uploadButtonCls} style={children ? undefined : { display: 'none' }}>
+ <div class={uploadButtonCls} style={children.length ? undefined : { display: 'none' }}>
314
<VcUpload {...vcUploadProps}>{children}</VcUpload>
315
</div>
316
);
0 commit comments