Browse Source

feat(nc-gui): support max 5 files upload

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
56a6da5b63
  1. 4
      packages/nc-gui/components/dlg/QuickImport.vue

4
packages/nc-gui/components/dlg/QuickImport.vue

@ -370,7 +370,7 @@ const beforeUpload = (file: UploadFile) => {
name="file" name="file"
class="nc-input-import !scrollbar-thin-dull" class="nc-input-import !scrollbar-thin-dull"
:accept="importMeta.acceptTypes" :accept="importMeta.acceptTypes"
:max-count="1" :max-count="5"
list-type="picture" list-type="picture"
:custom-request="customReqCbk" :custom-request="customReqCbk"
:before-upload="beforeUpload" :before-upload="beforeUpload"
@ -379,7 +379,7 @@ const beforeUpload = (file: UploadFile) => {
> >
<MdiFilePlusOutline size="large" /> <MdiFilePlusOutline size="large" />
<!-- Click or drag file to this area to upload --> <!-- Click or drag file to this area to upload -->
<p class="ant-upload-text">{{ $t('msg.info.import.clickOrDrag') }}</p> <p class="ant-upload-text">{{ $t('msg.info.import.clickOrDrag') }}</p>
<p class="ant-upload-hint"> <p class="ant-upload-hint">

Loading…
Cancel
Save