fix(upload): button will disappear when count meets limitation (#2884)
parent
7ea8de4b7e
commit
f942d5b1a6
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue