Browse Source

提示

hella_online_20240829
wangyufei 5 months ago
parent
commit
16d9e59403
  1. 2
      src/components/UploadFile/src/UploadFile.vue

2
src/components/UploadFile/src/UploadFile.vue

@ -80,7 +80,7 @@ const uploadHeaders = ref({
// //
const beforeUpload: UploadProps['beforeUpload'] = (file: UploadRawFile) => { const beforeUpload: UploadProps['beforeUpload'] = (file: UploadRawFile) => {
if (fileList.value.length >= props.limit) { if (fileList.value.length >= props.limit) {
message.error(`${t('ts.上传文件数量不能超过')}${props.limit}!`) message.error(`${t('ts.上传文件数量不能超过').replace('ts.','')}${props.limit}!`)
return false return false
} }
let fileExtension = '' let fileExtension = ''

Loading…
Cancel
Save