6.10 限制我要参拍上传附件文件格式

This commit is contained in:
jl-zhoujl2
2022-06-10 14:54:05 +08:00
parent 10dcb7f666
commit e51a0f4103
3 changed files with 8 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -654,7 +654,7 @@ const AuctionViewAuctions: React.FC = () => {
name="biddersFj"
extra="最多上传一个文件每个最大30MB"
>
<ExtendUpload bid="" maxCount={1} maxSize={30} uploadProps={{ disabled: false }}>
<ExtendUpload bid="" maxCount={1} maxSize={30} uploadProps={{ disabled: false, accept: ".png,.jpg,.jpeg,.rar,.zip,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.pdf"}}>
</ExtendUpload>
</Form.Item>
</Form>

View File

@ -12,6 +12,7 @@ import { saveDateTimeFormatter } from '@/utils/DateUtils';
import { isNotEmpty } from '@/utils/CommonUtils';
import { pictureDisplayPath } from '@/utils/DownloadUtils';
import { getFilelist } from '@/services/download_';
import participateLogo from '@/images/auction/participateLogo.jpg'
export default () => {
//获取用户数据
@ -173,6 +174,12 @@ export default () => {
</div>
<div style={{ display: 'flex', justifyContent: 'center', height: innerHeight - 57, overflowY: 'auto' }}>
<div style={{ width: 1248 }}>
<div style={{ margin: '12px 0px', display: 'flex' }}>
<div style={{ display: 'flex', alignItems: 'center' }}>
<img src={participateLogo} height={60} width={60} />
<span style={{ fontSize: '22px', fontWeight: 'bold', marginLeft: '8px', color: '#b30000' }}> · </span>
</div>
</div>
<Descriptions
bordered={true}
column={1}