Compare commits

..

2 Commits

1 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,7 @@
class="upload"
style="margin-right: 10px"
:disabled="limitLength"
v-if="!limitLength"
>
<input
multiple="multiple"
@ -25,7 +26,11 @@
class="select-file"
title=""
@change="beginScanFiles($event)"
v-if="!loading && (!limitLength || fileList.length < limitLength)"
v-if="
!loading &&
(!limitLength ||
(fileList.length < limitLength && limitLength > 1))
"
/>
<div class="btn-select">
{{ $t('trials:trialDocument:button:selectFolder') }}