Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
zhouqian
vue-gjjs
Commits
e3838ec1
Commit
e3838ec1
authored
Jun 17, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IStream类型中属性的过滤
parent
1ae2f004
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
index.js
src/utils/index.js
+5
-1
No files found.
src/utils/index.js
View file @
e3838ec1
...
...
@@ -28,7 +28,11 @@ export default class Utils {
else
if
(
obj
[
key
]
instanceof
Date
)
target
[
nkey
]
=
obj
[
key
];
else
if
(
typeof
obj
[
key
]
==
"object"
)
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
if
(
nkey
===
"trncorco_trnstm"
)
{
target
[
nkey
]
=
obj
[
key
];
}
else
{
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
}
else
target
[
nkey
]
=
obj
[
key
];
}
...
...
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