GitLab
Sign in
FEV2
/
fw-cms
Back to Group
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Snippets
Download as
Email Patches
Plain Diff
Browse Code »
Commit
10ad19d82cb98f1452e488f4719e316b05818105
Authored by
jiangwei
2023-05-18 16:48:43 +0800
1 parent
fc7932eb
配件计划限制附件上传类型
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/pages/pms/comonents/ImageUpload.tsx
src/pages/pms/comonents/ImageUpload.tsx
View file @
10ad19d
...
...
@@ -77,6 +77,7 @@ function Index(props: Props) {
77
77
<Upload
78
78
action="/api/file/upload"
79
79
listType="picture-card"
80
+ accept=".jpg,.png"
80
81
disabled={disabled}
81
82
fileList={fileList}
82
83
onPreview={handlePreview}
...
...