mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: restructure local upload component for improved readability
This commit is contained in:
parent
a8c4e48e31
commit
8e5aa084f6
|
|
@ -384,24 +384,25 @@
|
||||||
}}
|
}}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-divider style="margin: 16px 0"/>
|
<div v-if="props.applicationDetails.file_upload_setting.local_upload">
|
||||||
<el-upload
|
<el-divider style="margin: 16px 0"/>
|
||||||
v-if="props.applicationDetails.file_upload_setting.local_upload"
|
<el-upload
|
||||||
action="#"
|
action="#"
|
||||||
multiple
|
multiple
|
||||||
:auto-upload="false"
|
:auto-upload="false"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
:accept="getAcceptList()"
|
:accept="getAcceptList()"
|
||||||
:on-change="(file: any, fileList: any) => uploadFile(file, fileList)"
|
:on-change="(file: any, fileList: any) => uploadFile(file, fileList)"
|
||||||
v-model:file-list="fileAllList"
|
v-model:file-list="fileAllList"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
class="import-button"
|
class="import-button"
|
||||||
>
|
>
|
||||||
<el-button class="w-full url-upload-button">{{
|
<el-button class="w-full url-upload-button">{{
|
||||||
$t('chat.uploadFile.localUpload')
|
$t('chat.uploadFile.localUpload')
|
||||||
}}
|
}}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue