Skip to content

Commit

Permalink
fix(upload): button will disappear when count meets limitation (vueCo…
Browse files Browse the repository at this point in the history
  • Loading branch information
John60676 authored Sep 23, 2020
1 parent 7ea8de4 commit f942d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/upload/Upload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export default {
}

const uploadButton = (
<div class={uploadButtonCls} style={children ? undefined : { display: 'none' }}>
<div class={uploadButtonCls} style={children.length ? undefined : { display: 'none' }}>
<VcUpload {...vcUploadProps}>{children}</VcUpload>
</div>
);
Expand Down

0 comments on commit f942d5b

Please sign in to comment.