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
3f1796ba
Commit
3f1796ba
authored
Mar 30, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产项不固定放置
parent
ccfd20e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+0
-10
No files found.
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
3f1796ba
...
...
@@ -263,7 +263,6 @@ const AssetTable = (props) => {
// }
}
else
if
(
name
===
'资产项'
)
{
params
.
width
=
isSzseEnv
?
250
:
120
;
params
.
fixed
=
'right'
;
params
.
render
=
(
metadata
,
_
)
=>
{
return
(
...
...
@@ -278,15 +277,6 @@ const AssetTable = (props) => {
})
})
const
_index
=
_columns
.
findIndex
(
column
=>
column
.
title
===
'资产项'
);
//资产项放到最后一列
if
(
_index
!==
-
1
)
{
const
metaColumn
=
_columns
[
_index
];
_columns
=
_columns
.
filter
(
column
=>
column
.
title
!==
'资产项'
);
_columns
.
push
(
metaColumn
);
}
setAssets
([]);
setColumns
(
_columns
);
...
...
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