Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
Project
Project
Details
Activity
Releases
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
向伟
horse
Commits
35bb17fb
Commit
35bb17fb
authored
Nov 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e8fbb105
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
departmentStaff.vue
src/components/common/departmentStaff.vue
+4
-2
No files found.
src/components/common/departmentStaff.vue
View file @
35bb17fb
...
...
@@ -172,7 +172,7 @@ export default {
let
delItemitem
=
(
arr
:
parmas
)
=>
{
console
.
log
(
arr
,
'arr'
)
arr
.
map
(
x
=>
{
if
(
x
.
ChildList
&&
x
.
ChildList
){
if
(
x
.
ChildList
&&
x
.
ChildList
>
0
){
delItemitem
(
x
.
ChildList
)
}
else
{
keys
.
value
.
push
(
x
.
newId
)
...
...
@@ -184,8 +184,10 @@ export default {
let
j
=
arr
[
i
]
if
(
j
.
newId
==
Id
){
if
(
j
.
ChildList
&&
j
.
ChildList
.
length
>
0
){
console
.
log
(
j
.
ChildList
)
console
.
log
(
j
)
delItemitem
(
j
.
ChildList
)
}
else
{
keys
.
value
.
push
(
Id
)
}
}
else
{
...
...
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