Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
fe673cae
Commit
fe673cae
authored
Apr 22, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 兼容素材库更多后缀格式
parent
763c75c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.tsx
src/pages/systemSetting/materialmanagement/index.tsx
+4
-4
No files found.
src/pages/systemSetting/materialmanagement/index.tsx
View file @
fe673cae
...
...
@@ -201,12 +201,12 @@ const Materialmanagement = () => {
<
img
src=
{
Zip
}
alt=
""
/>
)
}
if
(
flieCode
==
'docx'
)
{
if
(
flieCode
==
'docx'
||
flieCode
==
'doc'
)
{
return
(
<
img
src=
{
Doc
}
alt=
""
/>
)
}
if
(
flieCode
==
'xlsx'
)
{
if
(
flieCode
==
'xlsx'
||
flieCode
==
'xls'
)
{
return
(
<
img
src=
{
Xlsx
}
alt=
""
/>
)
...
...
@@ -217,12 +217,12 @@ const Materialmanagement = () => {
// <img className={styles.Img} src={Video} alt="" />
)
}
if
(
flieCode
==
'pptx'
)
{
if
(
flieCode
==
'pptx'
||
flieCode
==
'ppt'
)
{
return
(
<
img
src=
{
PPT
}
alt=
""
/>
)
}
if
(
flieCode
==
'pdf'
)
{
if
(
flieCode
==
'pdf'
||
flieCode
==
'pdfx'
)
{
return
(
<
img
src=
{
PDF
}
alt=
""
/>
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment