fix: 图标错误

pull/2/head
xingyu 2022-12-07 20:37:39 +08:00
parent 211a112e81
commit 9801195a77
2 changed files with 5 additions and 1 deletions

View File

@ -7,9 +7,11 @@
v-model="valueRef"
v-model:file-list="fileList"
:show-file-list="true"
:auto-upload="autoUpload"
:action="updateUrl"
:headers="uploadHeaders"
:limit="props.limit"
:drag="drag"
:before-upload="beforeUpload"
:on-exceed="handleExceed"
:on-success="handleFileSuccess"
@ -47,6 +49,8 @@ const props = defineProps({
fileType: propTypes.array.def(['doc', 'xls', 'ppt', 'txt', 'pdf']), // , ['png', 'jpg', 'jpeg']
fileSize: propTypes.number.def(5), // (MB)
limit: propTypes.number.def(5), //
autoUpload: propTypes.bool.def(true), //
drag: propTypes.bool.def(false), //
isShowTip: propTypes.bool.def(true) //
})
// ========== ==========

View File

@ -72,7 +72,7 @@
<!-- 按钮保存 -->
<XButton
type="primary"
prefix="ep:upload-filled"
preIcon="ep:upload-filled"
:title="t('action.save')"
@click="submitFileForm()"
/>