Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
8db0bfe9
Commit
8db0bfe9
authored
Jun 10, 2021
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产增加序号
parent
509e2f86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+2
-2
No files found.
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
8db0bfe9
...
@@ -71,10 +71,10 @@ const AssetTable = (props) =>{
...
@@ -71,10 +71,10 @@ const AssetTable = (props) =>{
},
},
callback
:
data
=>
{
callback
:
data
=>
{
const
_assetNames
=
[];
const
_assetNames
=
[];
(
data
.
data
||
[]).
forEach
((
asset
)
=>
{
(
data
.
data
||
[]).
forEach
((
asset
,
index
)
=>
{
(
asset
.
elements
||
[]).
forEach
((
element
)
=>
{
(
asset
.
elements
||
[]).
forEach
((
element
)
=>
{
if
(
element
.
name
===
'中文名称'
)
{
if
(
element
.
name
===
'中文名称'
)
{
_assetNames
.
push
(
element
.
value
||
''
);
_assetNames
.
push
(
`
${
index
+
1
}
.
${
element
.
value
||
''
}
`
);
}
}
})
})
})
})
...
...
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